diff options
author | bz <bz@FreeBSD.org> | 2012-07-25 12:14:39 +0000 |
---|---|---|
committer | bz <bz@FreeBSD.org> | 2012-07-25 12:14:39 +0000 |
commit | d78628df358a34a7226050da0e4b586834ca037a (patch) | |
tree | eb82dcd9d3c8b577d3cc24aed01c0da7af929b8e /crypto | |
parent | 747797c7129d47f8e98a025215207bc58af86cef (diff) | |
download | FreeBSD-src-d78628df358a34a7226050da0e4b586834ca037a.zip FreeBSD-src-d78628df358a34a7226050da0e4b586834ca037a.tar.gz |
Fix a problem when CARP is enabled on the interface for IPv4
but not for IPv6. The current checks in nd6_nbr.c along with the
old version will result in ifa being NULL and subsequently the
packet will be dropped. This prevented NS/NA, from working and
with that IPv6.
Now return the ifa from the carp lookup function in two cases:
1) if the address matches, is a carp address, and we are MASTER
(as before),
2) if the address matches but it is not a carp address at all (new).
Reported by: Peter Wemm (new Y! FreeBSD cluster, eating our own dogfood)
Tested on: New Y! FreeBSD cluster machines
Reviewed by: glebius
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions