]> git.baikalelectronics.ru Git - kernel.git/commit
net: fix potential null pointer dereference
authorGustavo A. R. Silva <garsilva@embeddedor.com>
Tue, 23 May 2017 23:18:37 +0000 (18:18 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 25 May 2017 16:54:02 +0000 (12:54 -0400)
commitc74fafc8cc5623f574636321cb6a8ef2b168440f
treed06216d5b8d3fa595687e5351c9768374191f167
parent0f76c17a87540eed220d6d04a769f216cc2f063c
net: fix potential null pointer dereference

Add null check to avoid a potential null pointer dereference.

Addresses-Coverity-ID: 1408831
Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/gtp.c