patch-2.4.0-test9 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: 24
- Date:
Sun Sep 17 10:03:43 2000
- Orig file:
v2.4.0-test8/linux/net/x25/x25_dev.c
- Orig date:
Mon Aug 23 10:01:02 1999
diff -u --recursive --new-file v2.4.0-test8/linux/net/x25/x25_dev.c linux/net/x25/x25_dev.c
@@ -14,6 +14,7 @@
*
* History
* X.25 001 Jonathan Naylor Started coding.
+ * 2000-09-04 Henner Eisen Prevent freeing a dangling skb.
*/
#include <linux/config.h>
@@ -78,12 +79,13 @@
return x25_rx_call_request(skb, neigh, lci);
/*
- * Its not a Call Request, nor is it a control frame, throw it awa
+ * Its not a Call Request, nor is it a control frame.
+ * Let caller throw it away.
*/
/*
x25_transmit_clear_request(neigh, lci, 0x0D);
*/
- kfree_skb(skb);
+ printk(KERN_DEBUG "x25_receive_data(): unknown frame type %2x\n",frametype);
return 0;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)