netdevsim: shared UDP tunnel port table support
authorJakub Kicinski <kuba@kernel.org>
Sat, 26 Sep 2020 00:56:42 +0000 (17:56 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Sep 2020 19:50:12 +0000 (12:50 -0700)
commitdc9c07537cf200279c357b444a49df8c11f006fd
tree0e733c40c00af2e2eaf6760a911f25d12a2d729d
parent860e9d328fa585aafda2ef09aa1b13986279cbe7
netdevsim: shared UDP tunnel port table support

Add the ability to simulate a device with a shared UDP tunnel port
table.

Try to reject the configurations and actions which are not supported
by the core, so we don't get syzcaller etc. warning reports.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/netdevsim/netdevsim.h
drivers/net/netdevsim/udp_tunnels.c