aboutsummaryrefslogtreecommitdiff
path: root/sys/pci/ncr.c
diff options
context:
space:
mode:
authorBruce M Simpson <bms@FreeBSD.org>2009-09-12 19:45:55 +0000
committerBruce M Simpson <bms@FreeBSD.org>2009-09-12 19:45:55 +0000
commit1fc39d54242a0e044e26b79855e8bab827e8baee (patch)
treebf0e22884ff5e7f99d3040bccdd2108104f5dd70 /sys/pci/ncr.c
parent2a8e7dad33f5a14c19fc5e3404cdb9c4fa34dd15 (diff)
downloadsrc-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