Re: [PATCH nf-next] netfilter: nft_socket: fix erroneous socket assignment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fernando Fernandez Mancera <ffmancera@xxxxxxxxxx> wrote:
> This socket assignment was unnecessary and also added a missing sock_gen_put().

The socket assignment is wrong, see skb_orphan():
When skb->destructor callback is not set, but skb->sk is set, this hits BUG().

You could add a 'Link: ' to the bugzilla ticket if you like.
Patch looks good, thanks for fixing this Fernando!



[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux