diff options
Diffstat (limited to 'net/appletalk/aarp.c')
-rw-r--r-- | net/appletalk/aarp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/appletalk/aarp.c b/net/appletalk/aarp.c index 9d4adfd22757..50dce7981321 100644 --- a/net/appletalk/aarp.c +++ b/net/appletalk/aarp.c | |||
@@ -30,6 +30,7 @@ | |||
30 | */ | 30 | */ |
31 | 31 | ||
32 | #include <linux/if_arp.h> | 32 | #include <linux/if_arp.h> |
33 | #include <linux/slab.h> | ||
33 | #include <net/sock.h> | 34 | #include <net/sock.h> |
34 | #include <net/datalink.h> | 35 | #include <net/datalink.h> |
35 | #include <net/psnap.h> | 36 | #include <net/psnap.h> |
@@ -819,7 +820,7 @@ static int aarp_rcv(struct sk_buff *skb, struct net_device *dev, | |||
819 | ma = &ifa->address; | 820 | ma = &ifa->address; |
820 | else { /* We need to make a copy of the entry. */ | 821 | else { /* We need to make a copy of the entry. */ |
821 | da.s_node = sa.s_node; | 822 | da.s_node = sa.s_node; |
822 | da.s_net = da.s_net; | 823 | da.s_net = sa.s_net; |
823 | ma = &da; | 824 | ma = &da; |
824 | } | 825 | } |
825 | 826 | ||