patch-2.1.109 linux/net/802/psnap.c

Next file: linux/net/802/tr.c
Previous file: linux/net/802/p8022tr.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.108/linux/net/802/psnap.c linux/net/802/psnap.c
@@ -60,9 +60,11 @@
 		 */
 
 		skb->h.raw += 5;
+		skb->nh.raw += 5;
 		skb_pull(skb,5);
 		if (psnap_packet_type.type == 0)
 			psnap_packet_type.type=htons(ETH_P_SNAP);
+
 		return proto->rcvfunc(skb, dev, &psnap_packet_type);
 	}
 	skb->sk = NULL;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov