[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140731.220438.1984870938307560536.davem@davemloft.net>
Date: Thu, 31 Jul 2014 22:04:38 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: duanj.fnst@...fujitsu.com
Cc: hannes@...essinduktion.org, eric.dumazet@...il.com,
netdev@...r.kernel.org
Subject: Re: [PATCH v2] net: fix the counter
ICMP_MIB_INERRORS/ICMP6_MIB_INERRORS
From: Duan Jiong <duanj.fnst@...fujitsu.com>
Date: Thu, 31 Jul 2014 17:54:32 +0800
>
> When dealing with ICMPv[46] Error Message, function icmp_socket_deliver()
> and icmpv6_notify() do some valid checks on packet's length, but then some
> protocols check packet's length redaudantly. So remove those duplicated
> statements, and increase counter ICMP_MIB_INERRORS/ICMP6_MIB_INERRORS in
> function icmp_socket_deliver() and icmpv6_notify() respectively.
>
> In addition, add missed counter in udp6/udplite6 when socket is NULL.
>
> Signed-off-by: Duan Jiong <duanj.fnst@...fujitsu.com>
> ---
>
> v2: remove nested rcu_read_lock from icmpv6_notify
Applied to net-next, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists