Jason A. Donenfeld 0b41713b60 icmp: introduce helper for nat'd source address in network device context
This introduces a helper function to be called only by network drivers
that wraps calls to icmp[v6]_send in a conntrack transformation, in case
NAT has been used. We don't want to pollute the non-driver path, though,
so we introduce this as a helper to be called by places that actually
make use of this, as suggested by Florian.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Cc: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-02-13 14:19:00 -08:00
..
2019-05-21 12:33:38 -07:00
2019-12-09 09:59:07 +01:00
2020-01-23 14:32:52 +01:00
2019-12-09 10:36:44 -08:00
2019-12-09 09:59:07 +01:00
2019-09-13 21:44:19 +02:00
2020-01-26 15:28:47 +01:00