Re: [PATCH net] netlink: mmap: fix status setting in skb destructor

2015-08-28 Thread Ken-ichirou MATSUZAWA
On Tue, Aug 25, 2015 at 08:22:03PM -0700, David Miller wrote: > From: Ken-ichirou MATSUZAWA > > I don't know the intension of setting VALID status in the skb > > destructor. But I think it need to be set UNUSED status in case of > > I think the idea is to have the user process this "zero length"

Re: [PATCH net] netlink: mmap: fix status setting in skb destructor

2015-08-25 Thread David Miller
From: Ken-ichirou MATSUZAWA Date: Thu, 20 Aug 2015 16:07:33 +0900 > I don't know the intension of setting VALID status in the skb > destructor. But I think it need to be set UNUSED status in case of > error then release skb, or rx ring might be filled with RESERVED > frames. > > Signed-off-by: K

[PATCH net] netlink: mmap: fix status setting in skb destructor

2015-08-20 Thread Ken-ichirou MATSUZAWA
I don't know the intension of setting VALID status in the skb destructor. But I think it need to be set UNUSED status in case of error then release skb, or rx ring might be filled with RESERVED frames. Signed-off-by: Ken-ichirou MATSUZAWA --- net/netlink/af_netlink.c |2 +- 1 file changed, 1