]> git.baikalelectronics.ru Git - kernel.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)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Mar 2020 23:43:12 +0000 (16:43 -0700)
commit0d4242e5f8bca7afd245151adb06a301b5139269
treec9129d93fe8fcd098eb3b03a11bb0876fe4e17d6
parent230541f5e3f0f38137d9716f4905d438153ffdd0
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: e57059e63184 ("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