]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
netfilter: avoid double free in nf_reinject
authorJulian Anastasov <ja@ssi.bg>
Fri, 5 Aug 2011 00:36:28 +0000 (00:36 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Aug 2011 05:11:15 +0000 (22:11 -0700)
NF_STOLEN means skb was already freed

Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netfilter/nf_queue.c

index 5b466cd1272feaf0d9b66caa42a542c8370bd1bf..84d0fd47636a19cbc5c16b0f3847f131e58ed876 100644 (file)
@@ -312,6 +312,7 @@ void nf_reinject(struct nf_queue_entry *entry, unsigned int verdict)
                }
                break;
        case NF_STOLEN:
+               break;
        default:
                kfree_skb(skb);
        }