patch-2.1.48 linux/net/ipv4/ip_fragment.c

Next file: linux/net/ipv4/ipip.c
Previous file: linux/net/core/dev.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.47/linux/net/ipv4/ip_fragment.c linux/net/ipv4/ip_fragment.c
@@ -358,6 +358,9 @@
 		fp = fp->next;
 	}
 
+	skb->pkt_type = qp->fragments->skb->pkt_type;
+	skb->protocol = qp->fragments->skb->protocol;
+
 	/* We glued together all fragments, so remove the queue entry. */
 	ip_free(qp);
 

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