diff options
author | Fernando Fernandez Mancera <[email protected]> | 2019-09-01 11:48:08 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <[email protected]> | 2019-09-02 23:20:59 +0200 |
commit | 039b1f4f24ecc8493b6bb9d70b4b78750d1b35c2 (patch) | |
tree | 312aee5bd74214c91913239bcc72cddc996ff188 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 48bd0d68cd4b849c0bb99dc1fb01b013ad4aa942 (diff) |
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 <[email protected]>
Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions