1--- linux-2.4.20-pre11-plain/net/ipv4/netfilter/ipt_ULOG.c Wed Oct 30 10:09:41 2002 2+++ linux-2.4.20-pre11-ulogfix/net/ipv4/netfilter//ipt_ULOG.c Wed Oct 30 10:07:31 2002 3@@ -12,6 +12,7 @@ 4 * module loadtime -HW 5 * 2002/07/07 remove broken nflog_rcv() function -HW 6 * 2002/08/29 fix shifted/unshifted nlgroup bug -HW 7+ * 2002/10/30 fix uninitialized mac_len field - <Anders K. Pedersen> 8 * 9 * Released under the terms of the GPL 10 * 11@@ -31,7 +32,7 @@ 12 * Specify, after how many clock ticks (intel: 100 per second) the queue 13 * should be flushed even if it is not full yet. 14 * 15- * ipt_ULOG.c,v 1.21 2002/08/29 10:54:34 laforge Exp 16+ * ipt_ULOG.c,v 1.22 2002/10/30 09:07:31 laforge Exp 17 */ 18 19 #include <linux/module.h> 20@@ -224,7 +225,8 @@ 21 && in->hard_header_len <= ULOG_MAC_LEN) { 22 memcpy(pm->mac, (*pskb)->mac.raw, in->hard_header_len); 23 pm->mac_len = in->hard_header_len; 24- } 25+ } else 26+ pm->mac_len = 0; 27 28 if (in) 29 strncpy(pm->indev_name, in->name, sizeof(pm->indev_name)); 30