Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 90459
b: refs/heads/master
c: 4ad96d3
h: refs/heads/master
i:
  90457: 477e4e1
  90455: 2da95f3
v: v3
  • Loading branch information
Denis V. Lunev authored and David S. Miller committed Mar 29, 2008
1 parent 677b56f commit b32d66f
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3ba9441bdf07370670a684e6d95dfc523476677f
refs/heads/master: 4ad96d39a2d74c1b2e400b602da2594f5098fc26
1 change: 0 additions & 1 deletion trunk/include/net/udp.h
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,6 @@ DECLARE_SNMP_STAT(struct udp_mib, udplite_stats_in6);

/* /proc */
struct udp_seq_afinfo {
struct module *owner;
char *name;
sa_family_t family;
struct hlist_head *hashtable;
Expand Down
5 changes: 3 additions & 2 deletions trunk/net/ipv4/udp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1596,7 +1596,6 @@ int udp_proc_register(struct net *net, struct udp_seq_afinfo *afinfo)
struct proc_dir_entry *p;
int rc = 0;

afinfo->seq_fops.owner = afinfo->owner;
afinfo->seq_fops.open = udp_seq_open;
afinfo->seq_fops.read = seq_read;
afinfo->seq_fops.llseek = seq_lseek;
Expand Down Expand Up @@ -1656,10 +1655,12 @@ int udp4_seq_show(struct seq_file *seq, void *v)

/* ------------------------------------------------------------------------ */
static struct udp_seq_afinfo udp4_seq_afinfo = {
.owner = THIS_MODULE,
.name = "udp",
.family = AF_INET,
.hashtable = udp_hash,
.seq_fops = {
.owner = THIS_MODULE,
},
.seq_ops = {
.show = udp4_seq_show,
},
Expand Down
4 changes: 3 additions & 1 deletion trunk/net/ipv4/udplite.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
Expand Down
4 changes: 3 additions & 1 deletion trunk/net/ipv6/udp.c
Original file line number Diff line number Diff line change
Expand Up @@ -978,10 +978,12 @@ int udp6_seq_show(struct seq_file *seq, void *v)
}

static struct udp_seq_afinfo udp6_seq_afinfo = {
.owner = THIS_MODULE,
.name = "udp6",
.family = AF_INET6,
.hashtable = udp_hash,
.seq_fops = {
.owner = THIS_MODULE,
},
.seq_ops = {
.show = udp6_seq_show,
},
Expand Down
4 changes: 3 additions & 1 deletion trunk/net/ipv6/udplite.c
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,12 @@ void udplitev6_exit(void)

#ifdef CONFIG_PROC_FS
static struct udp_seq_afinfo udplite6_seq_afinfo = {
.owner = THIS_MODULE,
.name = "udplite6",
.family = AF_INET6,
.hashtable = udplite_hash,
.seq_fops = {
.owner = THIS_MODULE,
},
.seq_ops = {
.show = udp6_seq_show,
},
Expand Down

0 comments on commit b32d66f

Please sign in to comment.