vxlan: check return value of gro_cells_init()
authorTaehee Yoo <ap420073@gmail.com>
Wed, 18 Mar 2020 13:28:09 +0000 (13:28 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Mar 2020 23:43:12 +0000 (16:43 -0700)
commit384d91c267e621e0926062cfb3f20cb72dc16928
treec9129d93fe8fcd098eb3b03a11bb0876fe4e17d6
parentdd2af10402684cb5840a127caec9e7cdcff6d167
vxlan: check return value of gro_cells_init()

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>
drivers/net/vxlan.c