Re: [IPV6]: Set skb->priority in ip6_output.c

From: David Woodhouse
Date: Wed Jan 11 2006 - 13:09:21 EST


On Mon, 2006-01-09 at 16:09 -0800, Linux Kernel Mailing List wrote:
> --- a/net/ipv6/ip6_output.c
> +++ b/net/ipv6/ip6_output.c
> @@ -226,6 +226,8 @@ int ip6_xmit(struct sock *sk, struct sk_
> ipv6_addr_copy(&hdr->saddr, &fl->fl6_src);
> ipv6_addr_copy(&hdr->daddr, first_hop);
>
> + skb->priority = sk->sk_priority;
> +

This function is called with NULL sk from tcp_v6_send_ack() and
tcp_v6_send_reset() ... and now oopses.

--
dwmw2

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/