]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: remove redundant null pointer check before kfree_skb
authorzhong jiang <zhongjiang@huawei.com>
Thu, 20 Sep 2018 09:37:46 +0000 (17:37 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 21 Sep 2018 16:04:37 +0000 (09:04 -0700)
commit187b11a20d79e30161ecc88f34b9d3200ede3259
tree72edf8b43e279cfb5e7080730ed788d82f9fa126
parent1d228376a3e69681206f5a069d1c559a6779fb1e
ipv6: remove redundant null pointer check before kfree_skb

kfree_skb has taken the null pointer into account. hence it is safe
to remove the redundant null pointer check before kfree_skb.

Signed-off-by: zhong jiang <zhongjiang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/af_inet6.c