]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit755114497815bd0931e2d0e95c5aa969dcf4aa25
treef23e5aa026ce41f2c094a025a7a0021638f6c5c1
parent0caeba3d3c1f08ecee4975d345858c19809475d7
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