diff options
author | 2019-09-01 11:48:08 +0200 | |
---|---|---|
committer | 2019-09-02 23:20:59 +0200 | |
commit | 039b1f4f24ecc8493b6bb9d70b4b78750d1b35c2 (patch) | |
tree | 312aee5bd74214c91913239bcc72cddc996ff188 /net/core/skbuff.c | |
parent | netfilter: bridge: Drops IPv6 packets if IPv6 module is not loaded (diff) | |
download | wireguard-linux-039b1f4f24ecc8493b6bb9d70b4b78750d1b35c2.tar.xz wireguard-linux-039b1f4f24ecc8493b6bb9d70b4b78750d1b35c2.zip |
netfilter: nft_socket: fix erroneous socket assignment
The socket assignment is wrong, see skb_orphan():
When skb->destructor callback is not set, but skb->sk is set, this hits BUG().
Link: https://bugzilla.redhat.com/show_bug.cgi?id=1651813
Fixes: 554ced0a6e29 ("netfilter: nf_tables: add support for native socket matching")
Signed-off-by: Fernando Fernandez Mancera <ffmancera@riseup.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/core/skbuff.c')
0 files changed, 0 insertions, 0 deletions