summaryrefslogtreecommitdiffstats
path: root/.cocciconfig
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-02-11 20:47:08 +0100
committerDavid S. Miller <davem@davemloft.net>2020-02-13 23:19:00 +0100
commita12d7f3cbdc72c7625881c8dc2660fc2c979fdf2 (patch)
treef48df8094b2070df02c3c999916697e9226cfb07 /.cocciconfig
parentsunvnet: use icmp_ndo_send helper (diff)
downloadlinux-a12d7f3cbdc72c7625881c8dc2660fc2c979fdf2.tar.xz
linux-a12d7f3cbdc72c7625881c8dc2660fc2c979fdf2.zip
wireguard: device: use icmp_ndo_send helper
Because wireguard is calling icmp from network device context, it should use the ndo helper so that the rate limiting applies correctly. This commit adds a small test to the wireguard test suite to ensure that the new functions continue doing the right thing in the context of wireguard. It does this by setting up a condition that will definately evoke an icmp error message from the driver, but along a nat'd path. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '.cocciconfig')
0 files changed, 0 insertions, 0 deletions