Re: [PATCH net-next] net: better drop monitoring in ip{6}_recv_error()

2016-04-25 Thread David Miller
From: Eric Dumazet Date: Thu, 21 Apr 2016 22:27:32 -0700 > From: Eric Dumazet > > We should call consume_skb(skb) when skb is properly consumed, > or kfree_skb(skb) when skb must be dropped in error case. > > Signed-off-by: Eric Dumazet Applied.

[PATCH net-next] net: better drop monitoring in ip{6}_recv_error()

2016-04-21 Thread Eric Dumazet
From: Eric Dumazet We should call consume_skb(skb) when skb is properly consumed, or kfree_skb(skb) when skb must be dropped in error case. Signed-off-by: Eric Dumazet --- net/ipv4/ip_sockglue.c | 10 +- net/ipv6/datagram.c| 10 +- 2 files changed, 10 insertions(+), 10