[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160129.202542.2079689880141524449.davem@davemloft.net>
Date: Fri, 29 Jan 2016 20:25:42 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: chamaken@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net] netlink: not trim skb for mmaped socket when dump
From: Ken-ichirou MATSUZAWA <chamaken@...il.com>
Date: Fri, 29 Jan 2016 10:45:50 +0900
> We should not trim skb for mmaped socket since its buf size is fixed
> and userspace will read as frame which data equals head. mmaped
> socket will not call recvmsg, means max_recvmsg_len is 0,
> skb_reserve was not called before commit: db65a3aaf29e.
>
> Fixes: db65a3aaf29e (netlink: Trim skb to alloc size to avoid MSG_TRUNC)
> Signed-off-by: Ken-ichirou MATSUZAWA <chamas@...dion.ne.jp>
Applied, thank you.
Powered by blists - more mailing lists