From: Christoph Hellwig Date: Wed, 28 Jan 2015 17:04:53 +0000 (+0100) Subject: net: remove sock_iocb X-Git-Tag: fixes-v4.0-rc1~150^2~105 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7cc05662682da4b0e0a4fdf3c3f190577803ae81;p=pandora-kernel.git net: remove sock_iocb The sock_iocb structure is allocate on stack for each read/write-like operation on sockets, and contains various fields of which only the embedded msghdr and sometimes a pointer to the scm_cookie is ever used. Get rid of the sock_iocb and put a msghdr directly on the stack and pass the scm_cookie explicitly to netlink_mmap_sendmsg. Signed-off-by: Christoph Hellwig Signed-off-by: David S. Miller --- Reading git-diff-tree failed