]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commite012d51cbc41c5e603d7850c82acb0dad9e450dd
tree90dbb35873b853725a4de13cfe16990430a5d6aa
parentb552216ff1340a056aa0e12da68203902ae81d2c
[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