[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20110613.173151.1142825424020011611.davem@davemloft.net>
Date: Mon, 13 Jun 2011 17:31:51 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org, jchapman@...alix.com
Subject: Re: [PATCH net-next-2.6] l2tp: fix l2tp_ip_sendmsg() route handling
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Sun, 12 Jun 2011 10:27:09 +0200
> l2tp_ip_sendmsg() in non connected mode incorrectly calls
> sk_setup_caps(). Subsequent send() calls send data to wrong destination.
>
> We can also avoid changing dst refcount in connected mode, using
> appropriate rcu locking. Once output route lookups can also be done
> under rcu, sendto() calls wont change dst refcounts too.
>
> Signed-off-by: Eric Dumazet <eric.dumazet@...il.com>
> CC: James Chapman <jchapman@...alix.com>
Applied, thanks Eric.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists