Shmulik Ladkani 2173bff5dc ipv6: Fix 'inet6_rtm_getroute' to release 'rt->dst' in case of 'alloc_skb' failure
In 72331bc [ipv6: Fix RTM_GETROUTE's interpretation of RTA_IIF to be
consistent with ipv4] the code of 'inet6_rtm_getroute()' was re-ordered
such that the reference to 'rt->dst' is incremented prior skb
allocation.

Hence, if 'alloc_skb()' fails, must drop a reference from 'rt->dst'.
Add the missing 'dst_release()' call.

Signed-off-by: Shmulik Ladkani <shmulik.ladkani@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-04-04 05:25:51 -04:00
..
2011-11-22 16:43:32 -05:00
2012-04-02 04:33:46 -04:00
2011-11-22 16:43:32 -05:00
2012-04-02 04:33:43 -04:00
2010-05-11 14:40:55 +02:00
2011-11-22 16:43:32 -05:00
2012-04-02 04:33:43 -04:00
2012-01-17 23:56:18 -05:00
2012-01-30 12:58:51 -05:00
2012-04-02 04:33:45 -04:00
2011-11-22 16:43:32 -05:00
2010-10-25 13:09:45 -07:00
2011-11-22 16:43:32 -05:00
2011-11-22 16:43:32 -05:00