vxlan: release rt when found circular route
authorFan Du <fan.du@windriver.com>
Mon, 9 Dec 2013 02:33:53 +0000 (10:33 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Dec 2013 03:01:54 +0000 (22:01 -0500)
commitfffc15a5012e9052d3b236efc56840841a125416
treee1979b61467a70f0c58e47d3a3f14d99602db526
parent12663bfc97c8b3fdb292428105dd92d563164050
vxlan: release rt when found circular route

Otherwise causing dst memory leakage.
Have Checked all other type tunnel device transmit implementation,
no such things happens anymore.

Signed-off-by: Fan Du <fan.du@windriver.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxlan.c