patch-1.3.85 linux/net/ipv4/ip_output.c
Next file: linux/net/ipv4/ipip.c
Previous file: linux/net/ipv4/ip_options.c
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Mon Apr 8 11:41:04 1996
- Orig file:
v1.3.84/linux/net/ipv4/ip_output.c
- Orig date:
Sun Mar 31 00:13:19 1996
diff -u --recursive --new-file v1.3.84/linux/net/ipv4/ip_output.c linux/net/ipv4/ip_output.c
@@ -359,7 +359,7 @@
iph->tot_len = htons(skb->len-(((unsigned char *)iph)-skb->data));
#ifdef CONFIG_FIREWALL
- if(call_out_firewall(PF_INET, skb, iph) < FW_ACCEPT)
+ if(call_out_firewall(PF_INET, skb->dev, iph) < FW_ACCEPT)
/* just don't send this packet */
return;
#endif
@@ -701,7 +701,7 @@
getfrag(frag,saddr,(void *)iph,0,length-20);
dev_unlock_list();
#ifdef CONFIG_FIREWALL
- if(call_out_firewall(PF_INET, skb, iph)< FW_ACCEPT)
+ if(call_out_firewall(PF_INET, skb->dev, iph)< FW_ACCEPT)
{
kfree_skb(skb, FREE_WRITE);
return -EPERM;
@@ -905,7 +905,7 @@
*/
#ifdef CONFIG_FIREWALL
- if(!offset && call_out_firewall(PF_INET, skb, iph) < FW_ACCEPT)
+ if(!offset && call_out_firewall(PF_INET, skb->dev, iph) < FW_ACCEPT)
{
kfree_skb(skb, FREE_WRITE);
dev_unlock_list();
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this