Skip to contentSkip to conversation

: Set skb->priority in ip6_output.c

IPV6 David Woodhouse 1 participant 1 message Jan 11, 2006 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

net/ipv6/ip6_output.c int ip6_xmit(struct sock *sk, struct sk_ · line 230

Quoted 8 lines · Linux Kernel Mailing List
net/ipv6/ip6_output.c +2 -0
@@ -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.

Signature · 1 line
dwmw2