18 Nov, 2020
1 commit
-
If THIS_MODULE is not set, the module would be removed while debugfs is
being used.
It eventually makes kernel panic.Fixes: 82c93a87bf8b ("netdevsim: implement couple of testing devlink health reporters")
Fixes: 424be63ad831 ("netdevsim: add UDP tunnel port offload support")
Fixes: 4418f862d675 ("netdevsim: implement support for devlink region and snapshots")
Fixes: d3cbb907ae57 ("netdevsim: add ACL trap reporting cookie as a metadata")
Signed-off-by: Taehee Yoo
Link: https://lore.kernel.org/r/20201115103041.30701-1-ap420073@gmail.com
Signed-off-by: Jakub Kicinski
29 Sep, 2020
3 commits
-
Allow setting UDP_TUNNEL_NIC_INFO_STATIC_IANA_VXLAN.
Signed-off-by: Jakub Kicinski
Signed-off-by: David S. Miller -
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
Signed-off-by: David S. Miller -
We should never see a removal of a port which is not in the table
or adding a port to an occupied entry in the table. To make sure
such errors don't escape the checks in the test script add a
warning/kernel spat.Error injection will not trigger those, nor should it ever put
us in a bad state.Signed-off-by: Jakub Kicinski
Signed-off-by: David S. Miller
11 Jul, 2020
1 commit
-
Add UDP tunnel port handlers to our fake driver so we can test
the core infra.Signed-off-by: Jakub Kicinski
Signed-off-by: David S. Miller