diff options
| author | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-11-29 13:43:07 -0500 |
|---|---|---|
| committer | Bruno Martins <bgcngm@gmail.com> | 2023-11-06 09:28:24 +0000 |
| commit | ab48cf4bf69f5fc15c819616d83660a05ced7559 (patch) | |
| tree | 3e7d749c1ca90b186bc463a1b9048835a49064c1 /drivers/net/wireguard/main.c | |
| parent | 21fe90df549383827ee780e0bc191d242ce60d85 (diff) | |
netns: actually test for routing loops
We previously removed the restriction on looping to self, and then added
a test to make sure the kernel didn't blow up during a routing loop. The
kernel didn't blow up, thankfully, but on certain architectures where
skb fragmentation is easier, such as ppc64, the skbs weren't actually
being discarded after a few rounds through. But the test wasn't catching
this. So actually test explicitly for massive increases in tx to see if
we have a routing loop. Note that the actual loop problem will need to
be addressed in a different commit.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Change-Id: I35abdbcc2b8539354ddaa15be2abe824939374ce
Diffstat (limited to 'drivers/net/wireguard/main.c')
0 files changed, 0 insertions, 0 deletions
