android_kernel_sony_sdm845/tools/testing
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jason A. Donenfeld 85b12548cd
netns: check that route_me_harder packets use the right sk
If netfilter changes the packet mark, the packet is rerouted. The
ip_route_me_harder family of functions fails to use the right sk, opting
to instead use skb->sk, resulting in a routing loop when used with
tunnels. Fixing this inside of the compat layer with skb_orphan would
work but would cause other problems, by disabling TSQ, so instead we
warn if the calling kernel hasn't yet backported the fix for this.

Reported-by: Chen Minqiang <ptpt52@gmail.com>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2022-09-06 06:21:17 +03:00
..
fault-injection fault-injection: fix failcmd.sh warning 2012-07-31 18:42:38 -07:00
ktest tweewide: Fix most Shebang lines 2021-06-03 08:23:27 +02:00
nvdimm mm, devm_memremap_pages: mark devm_memremap_pages() EXPORT_SYMBOL_GPL 2019-01-13 10:03:51 +01:00
radix-tree radix-tree tests: properly initialize mutex 2016-10-11 15:06:30 -07:00
selftests netns: check that route_me_harder packets use the right sk 2022-09-06 06:21:17 +03:00