Commit 454fe23c authored by David S. Miller's avatar David S. Miller

sk->num no longer exists in 2.5, use inet_sk(sk)->num

parent 306f0825
...@@ -829,7 +829,7 @@ static void rawv6_close(struct sock *sk, long timeout) ...@@ -829,7 +829,7 @@ static void rawv6_close(struct sock *sk, long timeout)
static int rawv6_init_sk(struct sock *sk) static int rawv6_init_sk(struct sock *sk)
{ {
if (sk->num == IPPROTO_ICMPV6){ if (inet_sk(sk)->num == IPPROTO_ICMPV6) {
struct raw6_opt *opt = raw6_sk(sk); struct raw6_opt *opt = raw6_sk(sk);
opt->checksum = 1; opt->checksum = 1;
opt->offset = 2; opt->offset = 2;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment