]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/ipv4/ip_input.c
[PATCH] Keys: Fix key serial number collision handling
[linux-2.6-omap-h63xx.git] / net / ipv4 / ip_input.c
index e1a7dba2fa8ac6c381e3d0fb7c63d7ba99a857ea..212734ca238fa88e2bcee0eb43e13c246a5f9720 100644 (file)
@@ -428,6 +428,9 @@ int ip_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *pt,
                goto drop;
        }
 
+       /* Remove any debris in the socket control block */
+       memset(IPCB(skb), 0, sizeof(struct inet_skb_parm));
+
        return NF_HOOK(PF_INET, NF_IP_PRE_ROUTING, skb, dev, NULL,
                       ip_rcv_finish);