aboutsummaryrefslogtreecommitdiff
path: root/sbin/ipfw
diff options
context:
space:
mode:
authorEugene Grosbein <eugen@FreeBSD.org>2020-02-12 00:31:00 +0000
committerEugene Grosbein <eugen@FreeBSD.org>2020-02-12 00:31:00 +0000
commit49f384cb477bd32a4d1e85f0bf9fe7499f6b3e72 (patch)
treed165d172183374a09b3bd8437eb491feb7d26f0d /sbin/ipfw
parentf976241773df2260e6170317080761d1c5814fe5 (diff)
downloadsrc-49f384cb477bd32a4d1e85f0bf9fe7499f6b3e72.tar.gz
src-49f384cb477bd32a4d1e85f0bf9fe7499f6b3e72.zip
ng_nat: avoid panic if attached directly to ng_ether and got short packet
From the beginning, ng_nat safely assumed cleansed traffic because of limited ways it could be attached to NETGRAPH: ng_ipfw or ng_ppp only. Now as it may be attached with ng_ether too, the assumption proven wrong. Add needed check to the ng_nat. Thanks for markj for debugging this. PR: 243096 Submitted by: Lutz Donnerhacke <lutz@donnerhacke.de> Reported by: Robert James Hernandez <rob@sarcasticadmin.com> Reviewed by: markj and others MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D23091
Notes
Notes: svn path=/head/; revision=357786
Diffstat (limited to 'sbin/ipfw')
0 files changed, 0 insertions, 0 deletions