ca15d2882d
[ Upstream commit 78b7b991838a4a6baeaad934addc4db2c5917eb8 ]
Since introduced, vxlan_vnifilter_init() has been ignoring the
returned value of rtnl_register_module(), which could fail silently.
Handling the error allows users to view a module as an all-or-nothing
thing in terms of the rtnetlink functionality. This prevents syzkaller
from reporting spurious errors from its tests, where OOM often occurs
and module is automatically loaded.
Let's handle the errors by rtnl_register_many().
Fixes:
|
||
---|---|---|
.. | ||
Makefile | ||
vxlan_core.c | ||
vxlan_mdb.c | ||
vxlan_multicast.c | ||
vxlan_private.h | ||
vxlan_vnifilter.c |