nf_conntrack: struct inet_opt now inet_sock
PATCH 1/1 nf_conntrack: struct inet_opt now inet_sock
Fixup use of struct inet_opt, which has been renamed to inet_sock in Linus's current tree.
Signed-off-by Bill Rugolsky <[email protected]>
nf_conntrack/linux-2.6/net/ipv6/netfilter/nf_conntrack_l3proto_ipv6.c renamed from nf_conntrack/linux-2.6/net/ipv6/netfilter/nf_conntrack_l3proto_ipv6.c.inet_sock +1 -1
@@ -386,7 +386,7 @@static int getorigdst (struct sock *sk,int optval,void *user,int *len) { -struct inet_opt *inet =inet_sk (sk); +struct inet_sock *inet =inet_sk (sk);struct ipv6_pinfo *np =inet6_sk (sk);struct nf_conntrack_tuple_hash *h;struct nf_conntrack_tuple tuple;
nf_conntrack/linux-2.6/net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c renamed from nf_conntrack/linux-2.6/net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c.inet_sock +1 -1
@@ -334,7 +334,7 @@static int getorigdst (struct sock *sk,int optval,void __user *user,int *len) { -struct inet_opt *inet =inet_sk (sk); +struct inet_sock *inet =inet_sk (sk);struct nf_conntrack_tuple_hash *h;struct nf_conntrack_tuple tuple;
Hi, Bill,
I'll apply your patch. Thanks a lot.
-----------------------------------------------------------------
Yasuyuki KOZAKAI @ USAGI Project <[email protected]>
From: "Bill Rugolsky Jr." <[email protected]>
Date: Thu, 6 Jan 2005 21:01:36 -0500
Quoted 28 lines
Fixup use of struct
inet_opt, which has been renamed toinet_sockin Linus's current tree.Signed-off-by Bill Rugolsky <[email protected]>nf_conntrack/linux-2.6/net/ipv6/netfilter/nf_conntrack_l3proto_ipv6.c renamed from nf_conntrack/linux-2.6/net/ipv6/netfilter/nf_conntrack_l3proto_ipv6.c.inet_sock +1
-1@@ -386,7 +386,7 @@static int getorigdst (struct sock *sk,int optval,void *user,int *len) { -struct inet_opt *inet =inet_sk (sk); +struct inet_sock *inet =inet_sk (sk);struct ipv6_pinfo *np =inet6_sk (sk);struct nf_conntrack_tuple_hash *h;struct nf_conntrack_tuple tuple;nf_conntrack/linux-2.6/net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c renamed from nf_conntrack/linux-2.6/net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c.inet_sock +1
-1@@ -334,7 +334,7 @@static int getorigdst (struct sock *sk,int optval,void __user *user,int *len) { -struct inet_opt *inet =inet_sk (sk); +struct inet_sock *inet =inet_sk (sk);struct nf_conntrack_tuple_hash *h;struct nf_conntrack_tuple tuple;