Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 90654
b: refs/heads/master
c: 5f4472c
h: refs/heads/master
v: v3
  • Loading branch information
Denis V. Lunev authored and David S. Miller committed Apr 14, 2008
1 parent 64ed138 commit 8e8a2d6
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 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: 68fcadd16c371d5e0698ba366f33a4f990ce83ce
refs/heads/master: 5f4472c5a640c9671ca5becaebdfd6e651482176
1 change: 0 additions & 1 deletion trunk/include/net/tcp.h
Original file line number Diff line number Diff line change
Expand Up @@ -1325,7 +1325,6 @@ enum tcp_seq_states {
};

struct tcp_seq_afinfo {
struct module *owner;
char *name;
sa_family_t family;
struct file_operations seq_fops;
Expand Down
5 changes: 3 additions & 2 deletions trunk/net/ipv4/tcp_ipv4.c
Original file line number Diff line number Diff line change
Expand Up @@ -2232,7 +2232,6 @@ int tcp_proc_register(struct net *net, struct tcp_seq_afinfo *afinfo)
int rc = 0;
struct proc_dir_entry *p;

afinfo->seq_fops.owner = afinfo->owner;
afinfo->seq_fops.open = tcp_seq_open;
afinfo->seq_fops.read = seq_read;
afinfo->seq_fops.llseek = seq_lseek;
Expand Down Expand Up @@ -2382,9 +2381,11 @@ static int tcp4_seq_show(struct seq_file *seq, void *v)
}

static struct tcp_seq_afinfo tcp4_seq_afinfo = {
.owner = THIS_MODULE,
.name = "tcp",
.family = AF_INET,
.seq_fops = {
.owner = THIS_MODULE,
},
.seq_ops = {
.show = tcp4_seq_show,
},
Expand Down
4 changes: 3 additions & 1 deletion trunk/net/ipv6/tcp_ipv6.c
Original file line number Diff line number Diff line change
Expand Up @@ -2121,9 +2121,11 @@ static int tcp6_seq_show(struct seq_file *seq, void *v)
}

static struct tcp_seq_afinfo tcp6_seq_afinfo = {
.owner = THIS_MODULE,
.name = "tcp6",
.family = AF_INET6,
.seq_fops = {
.owner = THIS_MODULE,
},
.seq_ops = {
.show = tcp6_seq_show,
},
Expand Down

0 comments on commit 8e8a2d6

Please sign in to comment.