]> git.baikalelectronics.ru Git - kernel.git/commit
net: Avoid access icmp_err_convert when icmp code is ICMP_FRAG_NEEDED
authorMiaohe Lin <linmiaohe@huawei.com>
Mon, 24 Aug 2020 11:15:04 +0000 (07:15 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Aug 2020 01:11:43 +0000 (18:11 -0700)
commitc314d1a7630489749387d57da165329a7d951e6b
treef23e5aa026ce41f2c094a025a7a0021638f6c5c1
parentb646f3ee8d1bd7c413d95736a8989b1935254248
net: Avoid access icmp_err_convert when icmp code is ICMP_FRAG_NEEDED

There is no need to fetch errno and fatal info from icmp_err_convert when
icmp code is ICMP_FRAG_NEEDED.

Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/raw.c