]> git.baikalelectronics.ru Git - kernel.git/commit
[IPV6]: Fix tclass setting for raw sockets.
authorYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Thu, 14 Sep 2006 03:01:28 +0000 (20:01 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 18 Sep 2006 06:21:07 +0000 (23:21 -0700)
commit2a6257538da76bbbff25f37101037d0b014dd5a2
tree90dbb35873b853725a4de13cfe16990430a5d6aa
parente3d7a1f4a54ca2f141c5757b4939e8ee5f280909
[IPV6]: Fix tclass setting for raw sockets.

np->cork.tclass is used only in cork'ed context.
Otherwise, np->tclass should be used.

Bug#7096 reported by Remi Denis-Courmont <rdenis@simphalempin.com>.

Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/icmp.c
net/ipv6/raw.c