vxlan: fix potential NULL dereference in arp_reduce()
authorDavid Stevens <dlstevens@us.ibm.com>
Tue, 18 Mar 2014 16:32:29 +0000 (12:32 -0400)
committerSeokYeon Hwang <syeon.hwang@samsung.com>
Wed, 7 May 2014 06:31:01 +0000 (15:31 +0900)
commit121db7fafaf1bd923e64b56a897ba5ebe576da9d
treee0b61e94325c5d93218ca84e21b01856b27cc8e4
parent122537ca16654d03ce58267c3b038ef1319576f2
vxlan: fix potential NULL dereference in arp_reduce()

[ Upstream commit 7346135dcd3f9b57f30a5512094848c678d7143e ]

This patch fixes a NULL pointer dereference in the event of an
skb allocation failure in arp_reduce().

Signed-Off-By: David L Stevens <dlstevens@us.ibm.com>
Acked-by: Cong Wang <cwang@twopensource.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/net/vxlan.c