sctp: fix compile issue with disabled CONFIG_NET_NS
authorUlrich Weber <ulrich.weber@sophos.com>
Thu, 16 Aug 2012 01:24:49 +0000 (01:24 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 16 Aug 2012 20:36:29 +0000 (13:36 -0700)
commit6932f119bd71a315a1945276377277d91c4a71c6
treecd6ec2bf46e036d7f1f67ff4544a295e06d04bee
parent2ea214929d601a9308e47c3d380e50315963ce42
sctp: fix compile issue with disabled CONFIG_NET_NS

struct seq_net_private has no struct net
if CONFIG_NET_NS is not enabled

Signed-off-by: Ulrich Weber <ulrich.weber@sophos.com>
Reviewed-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/proc.c