patch-2.1.30 linux/net/x25/x25_dev.c
Next file: linux/net/x25/x25_link.c
Previous file: linux/net/x25/af_x25.c
Back to the patch index
Back to the overall index
- Lines: 14
- Date:
Thu Mar 20 18:17:16 1997
- Orig file:
v2.1.29/linux/net/x25/x25_dev.c
- Orig date:
Sun Jan 19 05:47:30 1997
diff -u --recursive --new-file v2.1.29/linux/net/x25/x25_dev.c linux/net/x25/x25_dev.c
@@ -53,12 +53,10 @@
unsigned short frametype;
unsigned int lci;
-#ifdef CONFIG_FIREWALL
- if (call_in_firewall(PF_X25, skb->dev, skb->data, NULL) != FW_ACCEPT) {
+ if (call_in_firewall(PF_X25, skb->dev, skb->data, NULL, &skb) != FW_ACCEPT) {
kfree_skb(skb, FREE_READ);
return 0;
}
-#endif
frametype = skb->data[2];
lci = ((skb->data[0] << 8) & 0xF00) + ((skb->data[1] << 0) & 0x0FF);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov