projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.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
|
blame
|
history
diff --git
a/drivers/net/bonding/bond_main.c
b/drivers/net/bonding/bond_main.c
index 68afcb5d7257b4fd90ec9cde9c8747e8cff52a8e..1ca73b8c139b5e5e4dfd4d57ff0a7e6f220b523e 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);
}