]> 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)
commitb304971a881fbf59f9a4ee0380575b011dcee309
treef23e5aa026ce41f2c094a025a7a0021638f6c5c1
parent5ef3a99ddd8b5353e08d6d8a9b1dc33146e49afb
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