aboutsummaryrefslogtreecommitdiff
path: root/net/ipv4/udplite.c
diff options
context:
space:
mode:
authorDenis V. Lunev <den@openvz.org>2008-03-28 18:25:53 -0700
committerDavid S. Miller <davem@davemloft.net>2008-03-28 18:25:53 -0700
commit4ad96d39a2d74c1b2e400b602da2594f5098fc26 (patch)
tree570666522e544892feba440728a59f336e13c3dd /net/ipv4/udplite.c
parent3ba9441bdf07370670a684e6d95dfc523476677f (diff)
[UDP]: Remove owner from udp_seq_afinfo.
Move it to udp_seq_afinfo->seq_fops as should be. Signed-off-by: Denis V. Lunev <den@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/udplite.c')
-rw-r--r--net/ipv4/udplite.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/ipv4/udplite.c b/net/ipv4/udplite.c
index 148ae72af11..72ce26b6c4d 100644
--- a/net/ipv4/udplite.c
+++ b/net/ipv4/udplite.c
@@ -72,10 +72,12 @@ static struct inet_protosw udplite4_protosw = {
#ifdef CONFIG_PROC_FS
static struct udp_seq_afinfo udplite4_seq_afinfo = {
- .owner = THIS_MODULE,
.name = "udplite",
.family = AF_INET,
.hashtable = udplite_hash,
+ .seq_fops = {
+ .owner = THIS_MODULE,
+ },
.seq_ops = {
.show = udp4_seq_show,
},