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)
commit60d354ebebd9d0f760cb6c3b9f53a7ade0f8cd0e
treed9bbbd688e46c339a472683909da65f2efaff564
parent3c521f2ba9646c5543963cbc2b9c9d3f02a82594
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