aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/udplite.c
diff options
context:
space:
mode:
authorDenis V. Lunev <den@openvz.org>2008-03-28 21:24:26 -0400
committerDavid S. Miller <davem@davemloft.net>2008-03-28 21:24:26 -0400
commitdda61925f84d89e2f2a4597d6298a05a2bc05c20 (patch)
tree8d66baedac68ed6a1c026f0142ab405f5c733597 /net/ipv4/udplite.c
parent997feb5e7a24ce155c1d3bea9d0b5c6530bb6197 (diff)
[UDP]: Move seq_ops from udp_iter_state to udp_seq_afinfo.
No need to create seq_operations for each instance of 'netstat'. 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 7c1e0271c0db..4add87553bce 100644
--- a/net/ipv4/udplite.c
+++ b/net/ipv4/udplite.c
@@ -77,8 +77,10 @@ static struct udp_seq_afinfo udplite4_seq_afinfo = {
77 .name = "udplite", 77 .name = "udplite",
78 .family = AF_INET, 78 .family = AF_INET,
79 .hashtable = udplite_hash, 79 .hashtable = udplite_hash,
80 .seq_show = udp4_seq_show,
81 .seq_fops = &udplite4_seq_fops, 80 .seq_fops = &udplite4_seq_fops,
81 .seq_ops = {
82 .show = udp4_seq_show,
83 },
82}; 84};
83 85
84static int udplite4_proc_init_net(struct net *net) 86static int udplite4_proc_init_net(struct net *net)