[PATCH review for 4.4 31/47] net: core: Prevent from dereferencing null pointer when releasing SKB

2017-09-19 Thread Levin, Alexander (Sasha Levin)
From: Myungho Jung [ Upstream commit 9899886d5e8ec5b343b1efe44f185a0e68dc6454 ] 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

[PATCH review for 4.4 31/47] net: core: Prevent from dereferencing null pointer when releasing SKB

2017-09-19 Thread Levin, Alexander (Sasha Levin)
From: Myungho Jung [ Upstream commit 9899886d5e8ec5b343b1efe44f185a0e68dc6454 ] 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 Signed-off-by: David S. Miller