diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-02-11 20:47:07 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-02-13 14:19:00 -0800 |
commit | 67c9a7e1e3ac491b5df018803639addc36f154ba (patch) | |
tree | cd933ecd79c0b8f8bdaddf0d277aaefc30a60d29 /drivers/misc | |
parent | e0fce6f945a26d4e953a147fe7ca11410322c9fe (diff) |
sunvnet: use icmp_ndo_send helper
Because sunvnet is calling icmp from network device context, it should use
the ndo helper so that the rate limiting applies correctly. While we're
at it, doing the additional route lookup before calling icmp_ndo_send is
superfluous, since this is the job of the icmp code in the first place.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Cc: Shannon Nelson <shannon.nelson@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/misc')
0 files changed, 0 insertions, 0 deletions