diff options
author | bms <bms@FreeBSD.org> | 2009-11-19 13:30:06 +0000 |
---|---|---|
committer | bms <bms@FreeBSD.org> | 2009-11-19 13:30:06 +0000 |
commit | d8ea9b2a5b7aea2ef3f7fbd0e576d5554cf1594d (patch) | |
tree | a4938eee28d1a133ce7669d18ea3e99c1d316344 /sys/netinet/sctp_peeloff.h | |
parent | 8c86c2baadd1d3d5c5dbba8c1598400f9f99ce43 (diff) | |
download | FreeBSD-src-d8ea9b2a5b7aea2ef3f7fbd0e576d5554cf1594d.zip FreeBSD-src-d8ea9b2a5b7aea2ef3f7fbd0e576d5554cf1594d.tar.gz |
Adapt r197132 to IPv6 stack:
Tighten input checking in in6p_join_group():
* Don't try to use the source address, when its family is unspecified.
* If we get a join without a source, on an existing inclusive
mode group, this is an error, as it would change the filter mode.
Fix a problem with the handling of in6_mfilter for new memberships:
* Do not rely on im6f being NULL; it is explicitly initialized to a
non-NULL pointer when constructing a membership.
* Explicitly initialize *im6f to EX mode when the source address
is unspecified.
This fixes a problem with in_mfilter slot recycling in the join path.
MFC after: 1 day
Diffstat (limited to 'sys/netinet/sctp_peeloff.h')
0 files changed, 0 insertions, 0 deletions