diff options
author | Bruce M Simpson <bms@FreeBSD.org> | 2009-09-12 19:45:55 +0000 |
---|---|---|
committer | Bruce M Simpson <bms@FreeBSD.org> | 2009-09-12 19:45:55 +0000 |
commit | 1fc39d54242a0e044e26b79855e8bab827e8baee (patch) | |
tree | bf0e22884ff5e7f99d3040bccdd2108104f5dd70 /sys/pci/ncr.c | |
parent | 2a8e7dad33f5a14c19fc5e3404cdb9c4fa34dd15 (diff) | |
download | src-1fc39d54242a0e044e26b79855e8bab827e8baee.tar.gz src-1fc39d54242a0e044e26b79855e8bab827e8baee.zip |
Tighten input checking in inp_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 in_mfilter for new memberships:
* Do not rely on imf being NULL; it is explicitly initialized to a
non-NULL pointer when constructing a membership.
* Explicitly initialize *imf to EX mode when the source address
is unspecified.
This fixes a problem with in_mfilter slot recycling in the join path.
PR: 138690
Submitted by: Stef Walter
MFC after: 5 days
Notes
Notes:
svn path=/head/; revision=197132
Diffstat (limited to 'sys/pci/ncr.c')
0 files changed, 0 insertions, 0 deletions