patch-2.4.0-test11 linux/drivers/net/wan/x25_asy.c

Next file: linux/drivers/net/wd.c
Previous file: linux/drivers/net/wan/lapbether.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test10/linux/drivers/net/wan/x25_asy.c linux/drivers/net/wan/x25_asy.c
@@ -9,6 +9,9 @@
  *	recommendations. Its primarily for testing purposes. If you wanted
  *	to do CCITT then in theory all you need is to nick the HDLC async
  *	checksum routines from ppp.c
+ *      Changes:
+ *
+ *	2000-10-29	Henner Eisen	lapb_data_indication() return status.
  */
 
 #include <linux/module.h>
@@ -390,9 +393,9 @@
  *	at the net layer.
  */
   
-static void x25_asy_data_indication(void *token, struct sk_buff *skb)
+static int x25_asy_data_indication(void *token, struct sk_buff *skb)
 {
-	netif_rx(skb);
+	return netif_rx(skb);
 }
 
 /*

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