mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-16 22:10:24 +00:00
netfilter: nfnetlink_queue: remove pointless conditional before kfree_skb()
Remove pointless conditional before kfree_skb(). Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
This commit is contained in:
parent
5693d68df6
commit
a67299556e
@ -406,7 +406,6 @@ nfqnl_build_packet_message(struct nfqnl_instance *queue,
|
||||
return skb;
|
||||
|
||||
nla_put_failure:
|
||||
if (skb)
|
||||
kfree_skb(skb);
|
||||
net_err_ratelimited("nf_queue: error creating packet message\n");
|
||||
return NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user