Re: [PATCH net-next] net: raw: assign delivered after receive success

2017-06-19 Thread David Miller
From: yuan linyu Date: Mon, 19 Jun 2017 20:37:38 +0800 > From: yuan linyu > > it's not reasonable to assign delivered if packet match no RAW sock > > Signed-off-by: yuan linyu 'delivered' means there was a matching raw socket. It doesn't say anything about what the socket decided to do with

[PATCH net-next] net: raw: assign delivered after receive success

2017-06-19 Thread yuan linyu
From: yuan linyu it's not reasonable to assign delivered if packet match no RAW sock Signed-off-by: yuan linyu --- net/ipv4/raw.c | 5 ++--- net/ipv6/raw.c | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/net/ipv4/raw.c b/net/ipv4/raw.c index bdffad8..fa39894 100644 ---