commit | c24584c028a62900ea6b541b312030f0feac93b8 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Sun Jun 24 21:58:23 2012 +0000 |
committer | Pablo Neira Ayuso <pablo@netfilter.org> | Mon Jun 25 12:07:09 2012 +0200 |
tree | 364ea1ad81607c37e85607d19a21c89eb32cc0ec | |
parent | ef5b6e127761667f78d99b7510a3876077fe9abe [diff] |
netfilter: ipvs: fix dst leak in __ip_vs_addr_is_local_v6 After call to ip6_route_output() we must release dst or we leak it. Also should test dst->error, as ip6_route_output() never returns NULL. Use boolean while we are at it. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>