]> git.baikalelectronics.ru Git - kernel.git/commit
net: core: Prevent from dereferencing null pointer when releasing SKB
authorMyungho Jung <mhjungk@gmail.com>
Tue, 25 Apr 2017 18:58:15 +0000 (11:58 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Apr 2017 18:47:14 +0000 (14:47 -0400)
commit1c2bddcf2b40a0abbba831ac1bbc573befb0e3fe
tree85732488c432e6e70b0fe73e62cfc46370162dae
parent33467935dc139c37fa3efefd4e2cfe2aa63b4011
net: core: Prevent from dereferencing null pointer when releasing SKB

Added NULL check to make __dev_kfree_skb_irq consistent with kfree
family of functions.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=195289
Signed-off-by: Myungho Jung <mhjungk@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c