net/socket.c : introduce helper function do_sock_sendmsg to replace reduplicate code
authorGu Zheng <guz.fnst@cn.fujitsu.com>
Fri, 5 Dec 2014 07:14:23 +0000 (15:14 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Dec 2014 20:24:26 +0000 (15:24 -0500)
commit0cf00c6f360a3f7b97be000520f1acde88800536
treecb3bb6556e439410504bce3fc10bd1ed98e07ca4
parent42eef7a0bb0989cd50d74e673422ff98a0ce4d7b
net/socket.c : introduce helper function do_sock_sendmsg to replace reduplicate code

Introduce helper function do_sock_sendmsg() to simplify sock_sendmsg{_nosec},
and replace reduplicate code.

Signed-off-by: Gu Zheng <guz.fnst@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/socket.c