]> git.baikalelectronics.ru Git - kernel.git/commit
sunrpc: Don't do a dst_confirm() on an input routes.
authorDavid S. Miller <davem@davemloft.net>
Mon, 2 Jul 2012 09:15:37 +0000 (02:15 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Jul 2012 08:02:43 +0000 (01:02 -0700)
commitb0c82eda389ec278097dddc48e80500e18abbd73
treed9bbbd688e46c339a472683909da65f2efaff564
parent7b5db44388b97c49db0599190c3f55daa25c5a4a
sunrpc: Don't do a dst_confirm() on an input routes.

xs_udp_data_ready() is operating on received packets, and tries to
do a dst_confirm() on the dst attached to the SKB.

This isn't right, dst confirmation is for output routes, not input
rights.  It's for resetting the timers on the nexthop neighbour entry
for the route, indicating that we've got good evidence that we've
successfully reached it.

Signed-off-by: David S. Miller <davem@davemloft.net>
net/sunrpc/xprtsock.c