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
..
2012-04-02 04:33:43 -04:00
2012-04-02 04:33:45 -04:00
2012-04-02 04:33:46 -04:00
2011-06-09 20:38:07 -07:00
2012-02-13 00:46:41 -05:00
2011-11-22 16:43:32 -05:00
2012-02-01 16:14:17 -05:00
2012-04-02 04:33:45 -04:00
2011-05-05 14:59:02 -07:00
2012-04-02 04:33:46 -04:00
2012-04-02 04:33:45 -04:00
2012-04-02 04:33:46 -04:00
2012-04-02 04:33:46 -04:00
2011-11-26 14:47:03 -05:00
2011-08-06 18:33:19 -07:00
2012-01-27 21:00:08 -05:00
2011-11-22 16:43:32 -05:00
2011-12-03 09:35:10 -08:00
2012-03-20 05:39:34 -04:00
2012-01-12 12:26:56 -08:00
2012-04-02 04:33:43 -04:00
2011-04-22 11:04:14 -07:00
2012-02-13 00:46:41 -05:00
2010-05-11 14:40:55 +02:00
2008-04-05 22:33:38 +09:00
2012-03-16 21:56:42 -07:00
2011-11-22 16:43:32 -05:00
2012-04-02 04:33:43 -04:00
2011-11-06 19:44:47 -08:00
2012-01-17 23:56:18 -05:00
2010-10-27 11:37:31 -07:00
2012-02-08 15:52:45 -05:00
2012-01-30 12:58:51 -05:00
2012-04-04 05:25:51 -04:00
2012-04-02 04:33:45 -04:00
2011-11-22 16:43:32 -05:00
2011-10-31 19:30:30 -04:00
2012-02-13 00:46:41 -05:00
2010-10-25 13:09:45 -07:00
2009-09-30 16:12:20 -07:00
2012-02-21 14:58:57 -05:00
2011-11-06 19:44:47 -08:00
2010-03-25 16:00:49 +01:00
2012-02-23 16:50:45 -05:00
2008-01-28 14:53:52 -08:00
2007-10-10 16:55:54 -07:00
2012-02-23 16:50:45 -05:00
2012-02-01 02:52:48 -05:00
2011-11-22 16:43:32 -05:00
2011-11-22 16:43:32 -05:00
2011-05-24 01:11:51 -04:00