]> git.baikalelectronics.ru Git - kernel.git/commit
net: Fix for dst_negative_advice
authorKrishna Kumar <krkumar2@in.ibm.com>
Mon, 19 Oct 2009 23:46:45 +0000 (23:46 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 21 Oct 2009 01:55:46 +0000 (18:55 -0700)
commitd5e39f663a7668a2ed1d76de1b98af24603c59b2
treea124cd047f8ed18c27aace29eafd2b343575857a
parent2f00a48d2fe4077aa227197d824e373557d99bf2
net: Fix for dst_negative_advice

dst_negative_advice() should check for changed dst and reset
sk_tx_queue_mapping accordingly. Pass sock to the callers of
dst_negative_advice.

(sk_reset_txq is defined just for use by dst_negative_advice. The
only way I could find to get around this is to move dst_negative_()
from dst.h to dst.c, include sock.h in dst.c, etc)

Signed-off-by: Krishna Kumar <krkumar2@in.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/dst.h
net/core/sock.c
net/dccp/timer.c
net/decnet/af_decnet.c
net/ipv4/tcp_timer.c