commit | 586d5fc867be8f03c049b4b89fd29d0b8b02cab5 | [log] [tgz] |
---|---|---|
author | Dmitry Popov <ixaphire@qrator.net> | Fri Jun 06 04:34:37 2014 +0400 |
committer | David S. Miller <davem@davemloft.net> | Thu Jun 05 18:44:44 2014 -0700 |
tree | 8ca1d723c8c4b442f23b19dd6f189e61f445c40a | |
parent | 0dcceabb0c1bf2d4c12a748df9933fad303072a7 [diff] |
ip_tunnel: fix possible rtable leak ip_rt_put(rt) is always called in "error" branches above, but was missed in skb_cow_head branch. As rt is not yet bound to skb here we have to release it by hand. Signed-off-by: Dmitry Popov <ixaphire@qrator.net> Signed-off-by: David S. Miller <davem@davemloft.net>