SLOF/clients
Thomas Huth a2e7a5c2be Fix tracking of pending outgoing packets when handling ARP replies
pending_pkt.pkt_pending is never read, thus setting it to 0
in handle_arp() does not make much sense. On the other hand,
arp_table[i].pkt_pending is never set back to 0, but it is
checked for tracking which packets still have to be sent
in handle_arp(), thus we might send out the same queued packet
multiple times when receiving more than one ARP packet from the
other side.
So setting "pending_pkt.pkt_pending = 0" seems to be a typo, and
"arp_table[i].pkt_pending = 0" should be right instead.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
2015-12-01 17:02:04 +11:00
..
net-snk Fix tracking of pending outgoing packets when handling ARP replies 2015-12-01 17:02:04 +11:00
takeover qemu/js2x/client: Support binutils >= 2.25.1 2015-11-03 12:00:22 +11:00
.gitignore Update .gitignore files 2012-10-17 16:30:58 +11:00
Makefile Initial import of slof-JX-1.7.0-4 2010-12-01 09:51:44 +11:00
clients.mk Initial import of slof-JX-1.7.0-4 2010-12-01 09:51:44 +11:00