aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/ip_input.c
diff options
context:
space:
mode:
authorDavid Greenman <dg@FreeBSD.org>1995-07-09 14:29:46 +0000
committerDavid Greenman <dg@FreeBSD.org>1995-07-09 14:29:46 +0000
commitc6e8c3576e9517a4174b812946118e4275f32636 (patch)
treeebc6ee77d76238d51062644bc81b80bc531bcc11 /sys/netinet/ip_input.c
parent2c413cbe50c9889d99d5d14564387b9e4396ccda (diff)
downloadsrc-c6e8c3576e9517a4174b812946118e4275f32636.tar.gz
src-c6e8c3576e9517a4174b812946118e4275f32636.zip
Fixed panic that occurs on certain firewall rejected packets that was
caused by dtom() being used on an mbuf cluster. The fix involves passing around the mbuf pointer. Submitted by: Bill Fenner
Notes
Notes: svn path=/head/; revision=9460
Diffstat (limited to 'sys/netinet/ip_input.c')
-rw-r--r--sys/netinet/ip_input.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/ip_input.c b/sys/netinet/ip_input.c
index c1a3b5a98eec..d91a0f93a648 100644
--- a/sys/netinet/ip_input.c
+++ b/sys/netinet/ip_input.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)ip_input.c 8.2 (Berkeley) 1/4/94
- * $Id: ip_input.c,v 1.23 1995/06/13 17:51:10 wollman Exp $
+ * $Id: ip_input.c,v 1.24 1995/06/27 17:26:27 guido Exp $
*/
#include <sys/param.h>
@@ -242,7 +242,7 @@ next:
*/
if (ip_fw_chk_ptr!=NULL)
- if (!(*ip_fw_chk_ptr)(ip,m->m_pkthdr.rcvif,ip_fw_chain) ) {
+ if (!(*ip_fw_chk_ptr)(m,ip,m->m_pkthdr.rcvif,ip_fw_chain) ) {
goto next;
}