diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2007-03-12 20:56:31 -0300 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-04-25 22:25:12 -0700 |
commit | d0a92be05ed4aea7d35c2b257e3f9173565fe4eb (patch) | |
tree | de57331758805956bcb54dda798e3ca76dd5a46f /drivers/net/bonding | |
parent | fd74e6ccd522e2f26163eb5ac1abebcab2bd017c (diff) | |
download | kernel_samsung_smdk4412-d0a92be05ed4aea7d35c2b257e3f9173565fe4eb.zip kernel_samsung_smdk4412-d0a92be05ed4aea7d35c2b257e3f9173565fe4eb.tar.gz kernel_samsung_smdk4412-d0a92be05ed4aea7d35c2b257e3f9173565fe4eb.tar.bz2 |
[SK_BUFF]: Introduce arp_hdr(), remove skb->nh.arph
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bonding')
-rw-r--r-- | drivers/net/bonding/bond_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c index 7f11388..76d3504 100644 --- a/drivers/net/bonding/bond_main.c +++ b/drivers/net/bonding/bond_main.c @@ -2524,7 +2524,7 @@ static int bond_arp_rcv(struct sk_buff *skb, struct net_device *dev, struct pack (2 * sizeof(u32))))) goto out_unlock; - arp = skb->nh.arph; + arp = arp_hdr(skb); if (arp->ar_hln != dev->addr_len || skb->pkt_type == PACKET_OTHERHOST || skb->pkt_type == PACKET_LOOPBACK || |