]> 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)
commit3871a35e866c5886c65fba88f24c3d31962b66c1
treed9bbbd688e46c339a472683909da65f2efaff564
parent614e846d386740b106a0bbbdce8524e2077e048a
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