Eugene Grosbein
49f384cb47
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
2020-02-12 00:31:00 +00:00
..
2017-11-27 15:23:17 +00:00
2019-08-30 16:35:31 +00:00
2019-12-10 22:06:53 +00:00
2018-02-23 18:15:50 +00:00
2017-11-27 15:23:17 +00:00
2020-02-05 02:53:40 +00:00
2020-01-05 19:14:16 +00:00
2020-01-05 19:14:16 +00:00
2017-11-27 15:23:17 +00:00
2017-11-27 15:23:17 +00:00
2019-08-23 07:24:36 +00:00
2017-11-27 15:23:17 +00:00
2020-02-05 03:07:20 +00:00
2017-11-27 15:23:17 +00:00
2020-01-16 20:12:15 +00:00
2017-11-27 15:23:17 +00:00
2017-11-27 15:23:17 +00:00
2017-11-27 15:23:17 +00:00
2019-10-10 23:47:14 +00:00
2017-11-27 15:23:17 +00:00
2017-11-27 15:23:17 +00:00
2018-05-24 00:06:55 +00:00
2017-11-27 15:23:17 +00:00
2017-11-27 15:23:17 +00:00
2017-11-27 15:23:17 +00:00
2019-10-07 22:40:05 +00:00
2018-08-03 22:55:58 +00:00
2019-10-07 22:40:05 +00:00
2017-11-27 15:23:17 +00:00
2019-03-14 22:30:05 +00:00
2017-11-27 15:23:17 +00:00
2019-10-03 02:34:51 +00:00
2020-02-12 00:31:00 +00:00
2018-12-17 16:00:35 +00:00
2018-01-21 15:42:36 +00:00
2017-11-27 15:23:17 +00:00
2017-11-27 15:23:17 +00:00
2017-11-27 15:23:17 +00:00
2017-11-27 15:23:17 +00:00
2017-11-27 15:23:17 +00:00
2018-02-14 21:17:44 +00:00
2018-02-14 21:17:44 +00:00
2018-11-04 19:10:44 +00:00
2018-11-04 19:10:44 +00:00
2017-11-27 15:23:17 +00:00
2017-11-27 15:23:17 +00:00
2020-02-05 03:06:29 +00:00
2018-11-27 04:05:38 +00:00
2017-11-27 15:23:17 +00:00
2017-11-27 15:23:17 +00:00
2017-11-27 15:23:17 +00:00
2017-11-27 15:23:17 +00:00
2017-11-27 15:23:17 +00:00
2017-11-27 15:23:17 +00:00
2017-11-27 15:23:17 +00:00
2017-11-27 15:23:17 +00:00