tipc: use sock_create_kern interface to create kernel socket
authorYing Xue <ying.xue@windriver.com>
Wed, 13 May 2015 03:20:38 +0000 (11:20 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 May 2015 17:39:33 +0000 (13:39 -0400)
commitfa787ae0624c46d0c894c19ae74f53d7bb4406f8
treef570f6fe3e57901c0c23d3074e096a10024e2cfa
parentdd3aa3b5fbf61adb0ef5d44a6753646b767b9c77
tipc: use sock_create_kern interface to create kernel socket

After commit eeb1bd5c40ed ("net: Add a struct net parameter to
sock_create_kern"), we should use sock_create_kern() to create kernel
socket as the interface doesn't reference count struct net any more.

Signed-off-by: Ying Xue <ying.xue@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/server.c