diff options
author | Eric Dumazet <edumazet@google.com> | 2012-06-24 23:58:23 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2012-06-25 12:07:09 +0200 |
commit | c24584c028a62900ea6b541b312030f0feac93b8 (patch) | |
tree | 364ea1ad81607c37e85607d19a21c89eb32cc0ec /net/wireless | |
parent | netfilter: ipset: fix interface comparision in hash-netiface sets (diff) | |
download | linux-c24584c028a62900ea6b541b312030f0feac93b8.tar.xz linux-c24584c028a62900ea6b541b312030f0feac93b8.zip |
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 'net/wireless')
0 files changed, 0 insertions, 0 deletions