commit | 67c9a7e1e3ac491b5df018803639addc36f154ba | [log] [tgz] |
---|---|---|
author | Jason A. Donenfeld <Jason@zx2c4.com> | Tue Feb 11 20:47:07 2020 +0100 |
committer | David S. Miller <davem@davemloft.net> | Thu Feb 13 14:19:00 2020 -0800 |
tree | cd933ecd79c0b8f8bdaddf0d277aaefc30a60d29 | |
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>