OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4f283b
)
bonding: only receive ARPs for us
author
Jay Vosburgh
<fubar@us.ibm.com>
Thu, 1 Mar 2007 01:03:27 +0000
(17:03 -0800)
committer
Jeff Garzik
<jeff@garzik.org>
Tue, 6 Mar 2007 11:08:11 +0000
(06:08 -0500)
The ARP validation code only needs ARPs for the bonding device.
Signed-off-by: Jay Vosburgh <fubar@us.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/bonding/bond_main.c
patch
|
blob
|
history
diff --git
a/drivers/net/bonding/bond_main.c
b/drivers/net/bonding/bond_main.c
index
68afcb5
..
1ca73b8
100644
(file)
--- a/
drivers/net/bonding/bond_main.c
+++ b/
drivers/net/bonding/bond_main.c
@@
-3427,7
+3427,7
@@
void bond_register_arp(struct bonding *bond)
return;
pt->type = htons(ETH_P_ARP);
- pt->dev =
NULL; /*bond->dev;XXX*/
+ pt->dev =
bond->dev;
pt->func = bond_arp_rcv;
dev_add_pack(pt);
}