From 0da1805bdd58125b01c3b1a9d95c3d6f495d2159 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Fri, 29 Oct 2010 14:31:48 +0000 Subject: Fix ipv6 pfinet build * pfinet/linux-src/net/ipv6/raw_ipv6.c (rawv6_init_sk): Replace yet-undefined raw6_sk with proper translation. --- pfinet/linux-src/net/ipv6/raw_ipv6.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pfinet/linux-src') 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; } -- cgit v1.2.3