summaryrefslogtreecommitdiff
path: root/pfinet
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2010-10-29 14:31:48 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2010-10-29 14:31:48 +0000
commit0da1805bdd58125b01c3b1a9d95c3d6f495d2159 (patch)
treeda71470e6ba054dba6330451756d987a3f8ac196 /pfinet
parent7193b28b672315fa79ffcbadc6f783f6a566286f (diff)
Fix ipv6 pfinet build
* pfinet/linux-src/net/ipv6/raw_ipv6.c (rawv6_init_sk): Replace yet-undefined raw6_sk with proper translation.
Diffstat (limited to 'pfinet')
-rw-r--r--pfinet/linux-src/net/ipv6/raw_ipv6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pfinet/linux-src/net/ipv6/raw_ipv6.c b/pfinet/linux-src/net/ipv6/raw_ipv6.c
index 6b93e0f2..64bc247c 100644
--- a/pfinet/linux-src/net/ipv6/raw_ipv6.c
+++ b/pfinet/linux-src/net/ipv6/raw_ipv6.c
@@ -653,7 +653,7 @@ static void rawv6_close(struct sock *sk, long timeout)
static int rawv6_init_sk(struct sock *sk)
{
if (sk->num == IPPROTO_ICMPV6){
- struct raw6_opt *opt = raw6_sk(sk);
+ struct raw6_opt *opt = &sk->tp_pinfo.tp_raw;
opt->checksum = 1;
opt->offset = 2;
}