vxlan: check return value of gro_cells_init()
commitfacf9c7ecc2f0d8e8c65e4d532f690dc5e7aa659
authorTaehee Yoo <ap420073@gmail.com>
Wed, 18 Mar 2020 13:28:09 +0000 (18 13:28 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 Apr 2020 13:28:13 +0000 (2 15:28 +0200)
tree502965f43dfe2f8ab8f79222170731d073e486aa
parent58b501cc08ccd688c4dd3d202cbdc4e36aeff79a
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