kern/145462
Gleb Smirnoff
glebius at FreeBSD.org
Tue Apr 13 12:00:14 UTC 2010
The following reply was made to PR kern/145462; it has been noted by GNATS.
From: Gleb Smirnoff <glebius at FreeBSD.org>
To: Aleksey <otim at mail.ru>
Cc: bug-followup at FreeBSD.org
Subject: Re: kern/145462
Date: Tue, 13 Apr 2010 15:36:58 +0400
IMO, this patch would be better:
Index: ng_ipfw.c
===================================================================
--- ng_ipfw.c (revision 206495)
+++ ng_ipfw.c (working copy)
@@ -264,11 +264,8 @@
* Node must be loaded and corresponding hook must be present.
*/
if (fw_node == NULL ||
- (hook = ng_ipfw_findhook1(fw_node, fwa->rule.info)) == NULL) {
- if (tee == 0)
- m_freem(*m0);
+ (hook = ng_ipfw_findhook1(fw_node, fwa->rule.info)) == NULL)
return (ESRCH); /* no hook associated with this rule */
- }
/*
* We have two modes: in normal mode we add a tag to packet, which is
Can you please test it and if you don't mind I will commit it.
--
Totus tuus, Glebius.
More information about the freebsd-net
mailing list