Re: [PATCH] net: Avoid access icmp_err_convert when icmp code is ICMP_FRAG_NEEDED

2020-08-24 Thread David Miller
From: Miaohe Lin Date: Mon, 24 Aug 2020 07:15:04 -0400 > 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 Applied to net-next, thanks.

[PATCH] net: Avoid access icmp_err_convert when icmp code is ICMP_FRAG_NEEDED

2020-08-24 Thread Miaohe Lin
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 --- net/ipv4/raw.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/net/ipv4/raw.c b/net/ipv4/raw.c index 6fd4330287c2..ea4c36e93824 100644 -