diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-02-11 22:47:05 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-02-14 01:19:00 +0300 |
commit | 0b41713b606694257b90d61ba7e2712d8457648b (patch) | |
tree | 9d2df288a3386102321124f7442d304b7f4fa28e /drivers/net | |
parent | 07134cf6962377875288b06232d0c41c69d31752 (diff) | |
download | linux-0b41713b606694257b90d61ba7e2712d8457648b.tar.xz |
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>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions