patch-2.3.99-pre8 linux/net/ipv4/netfilter/ipt_owner.c

Next file: linux/net/ipv4/netfilter/iptable_filter.c
Previous file: linux/net/ipv4/netfilter/ipt_REJECT.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre7/linux/net/ipv4/netfilter/ipt_owner.c linux/net/ipv4/netfilter/ipt_owner.c
@@ -21,7 +21,7 @@
 	p = find_task_by_pid(pid);
 	if(p && p->files) {
 		for (i=0; i < p->files->max_fds; i++) {
-			if (fcheck_task(p, i) == skb->sk->socket->file) {
+			if (fcheck_files(p->files, i) == skb->sk->socket->file) {
 				read_unlock(&tasklist_lock);
 				return 1;
 			}
@@ -43,7 +43,7 @@
 			continue;
 
 		for (i=0; i < p->files->max_fds; i++) {
-			if (fcheck_task(p, i) == skb->sk->socket->file) {
+			if (fcheck_files(p->files, i) == skb->sk->socket->file) {
 				found = 1;
 				break;
 			}

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)