diff options
author | Eric Dumazet <edumazet@google.com> | 2012-06-24 21:58:23 +0000 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2012-06-25 12:07:09 +0200 |
commit | c24584c028a62900ea6b541b312030f0feac93b8 (patch) | |
tree | 364ea1ad81607c37e85607d19a21c89eb32cc0ec /mm | |
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>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions