patch-1.3.91 linux/net/ipv4/ip_output.c

Next file: linux/net/ipv4/raw.c
Previous file: linux/net/ipv4/ip_options.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.90/linux/net/ipv4/ip_output.c linux/net/ipv4/ip_output.c
@@ -137,7 +137,7 @@
 #endif
 			skb->arp = 0;
 			skb->raddr = daddr;
-			return -dev->hard_header_len;
+			return dev->hard_header_len;
 		}
 		mac = dev->hard_header(skb, dev, ETH_P_IP, NULL, NULL, len);
 		if (mac < 0)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this