]> git.pld-linux.org Git - packages/kernel.git/commitdiff
- This patch fixes a Oops in arp_rcv() when proxy-arp is used
authorJacek Konieczny <jajcus@pld-linux.org>
Wed, 4 Jul 2001 15:05:58 +0000 (15:05 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    kernel-arp.patch -> 1.1

kernel-arp.patch [new file with mode: 0644]

diff --git a/kernel-arp.patch b/kernel-arp.patch
new file mode 100644 (file)
index 0000000..d25e081
--- /dev/null
@@ -0,0 +1,14 @@
+
+This patch fixes a Oops in arp_rcv() when proxy-arp is used
+
+--- linux/net/ipv4/arp.c.orig  Thu Jun 28 17:29:10 2001
++++ linux/net/ipv4/arp.c       Tue Jul  3 19:37:25 2001
+@@ -738,7 +738,7 @@
+                           (addr_type == RTN_UNICAST  && rt->u.dst.dev != dev &&
+                            (IN_DEV_PROXY_ARP(in_dev) || pneigh_lookup(&arp_tbl, &tip, dev, 0)))) {
+                               n = neigh_event_ns(&arp_tbl, sha, &sip, dev);
+-                              neigh_release(n);
++                              if (n) neigh_release(n);
+                               if (skb->stamp.tv_sec == 0 ||
+                                   skb->pkt_type == PACKET_HOST ||
This page took 0.072047 seconds and 4 git commands to generate.