summaryrefslogtreecommitdiff
path: root/net/ipv6/ip6_output.c
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2010-04-11 21:18:17 (GMT)
committerDavid S. Miller <davem@davemloft.net>2010-04-15 08:27:11 (GMT)
commit8728c544a9cbdcb0034aa5c45706c5f953f030ee (patch)
tree81fa8933b6769983063db89da3242aabbf816135 /net/ipv6/ip6_output.c
parent4eaa0e3c869acd5dbc7c2e3818a9ae9cbf221d27 (diff)
downloadlinux-fsl-qoriq-8728c544a9cbdcb0034aa5c45706c5f953f030ee.tar.xz
net: dev_pick_tx() fix
When dev_pick_tx() caches tx queue_index on a socket, we must check socket dst_entry matches skb one, or risk a crash later, as reported by Denys Fedorysychenko, if old packets are in flight during a route change, involving devices with different number of queues. Bug introduced by commit a4ee3ce3 (net: Use sk_tx_queue_mapping for connected sockets) Reported-by: Denys Fedorysychenko <nuclearcat@nuclearcat.com> Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/ip6_output.c')
0 files changed, 0 insertions, 0 deletions