Gustavo A. R. Silva 7f80ccfe99 net: ipv6: rpl_iptunnel: Fix potential memory leak in rpl_do_srh_inline
In case memory resources for buf were allocated, release them before
return.

Addresses-Coverity-ID: 1492011 ("Resource leak")
Fixes: a7a29f9c361f ("net: ipv6: add rpl sr tunnel")
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-03-31 10:12:51 -07:00
..
2020-03-29 22:30:57 -07:00
2020-03-29 22:30:57 -07:00
2020-03-12 15:55:00 -07:00
2019-07-27 14:23:48 -07:00
2020-03-12 15:55:00 -07:00
2020-03-12 15:55:00 -07:00
2020-03-30 13:45:04 -07:00
2020-03-12 15:55:00 -07:00
2020-03-29 22:30:57 -07:00
2020-03-29 22:30:57 -07:00
2020-03-12 15:55:00 -07:00
2020-03-29 22:30:57 -07:00
2020-03-29 22:30:57 -07:00
2020-03-12 15:55:00 -07:00