]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
vxlan: check return value of gro_cells_init()
authorTaehee Yoo <ap420073@gmail.com>
Wed, 18 Mar 2020 13:28:09 +0000 (13:28 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 Apr 2020 15:20:30 +0000 (17:20 +0200)
commitcc42f986e5de1c6cfde505648a47f436ff7010a2
treed7e7cf01f40e8c1f49ea61216337f2cc200bd255
parenta1c9b23142ac8d6577613f6e41297ae24e7d313c
vxlan: check return value of gro_cells_init()

[ Upstream commit 384d91c267e621e0926062cfb3f20cb72dc16928 ]

gro_cells_init() returns error if memory allocation is failed.
But the vxlan module doesn't check the return value of gro_cells_init().

Fixes: 58ce31cca1ff ("vxlan: GRO support at tunnel layer")`
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/vxlan.c