From: Ken-ichirou MATSUZAWA <chama...@gmail.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 <cha...@h4.dion.ne.jp> Applied, thank you.