SOURCES (LINUX_2_6): linux-2.6-nf-osf.patch - build fixed, needs r...

pluto pluto at pld-linux.org
Sat Oct 29 20:00:55 CEST 2005


Author: pluto                        Date: Sat Oct 29 18:00:55 2005 GMT
Module: SOURCES                       Tag: LINUX_2_6
---- Log message:
- build fixed, needs runtime check.

---- Files affected:
SOURCES:
   linux-2.6-nf-osf.patch (1.1.2.2 -> 1.1.2.3) 

---- Diffs:

================================================================
Index: SOURCES/linux-2.6-nf-osf.patch
diff -u SOURCES/linux-2.6-nf-osf.patch:1.1.2.2 SOURCES/linux-2.6-nf-osf.patch:1.1.2.3
--- SOURCES/linux-2.6-nf-osf.patch:1.1.2.2	Fri Oct 28 14:33:58 2005
+++ SOURCES/linux-2.6-nf-osf.patch	Sat Oct 29 20:00:50 2005
@@ -356,7 +356,7 @@
 +	memcpy(&data->ip, sk->nh.iph, sizeof(struct iphdr));
 +	memcpy(&data->tcp, (struct tcphdr *)((u_int32_t *)sk->nh.iph + sk->nh.iph->ihl), sizeof(struct tcphdr));
 +
-+	NETLINK_CB(skb).dst_groups = ipt_osf_groups;
++	NETLINK_CB(skb).dst_group = ipt_osf_groups;
 +	netlink_broadcast(nts, skb, 0, ipt_osf_groups, GFP_ATOMIC);
 +
 +nlmsg_failure:
@@ -1022,7 +1022,7 @@
 +	p->write_proc = osf_proc_write;
 +	p->read_proc  = osf_proc_read;
 +	
-+	nts = netlink_kernel_create(NETLINK_NFLOG, NULL);
++	nts = netlink_kernel_create(NETLINK_NFLOG, 0, NULL, THIS_MODULE);
 +	if (!nts) {
 +		log("netlink_kernel_create() failed\n");
 +	}
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/linux-2.6-nf-osf.patch?r1=1.1.2.2&r2=1.1.2.3&f=u




More information about the pld-cvs-commit mailing list