patch-2.4.0-test11 linux/drivers/net/wan/comx-proto-lapb.c
Next file: linux/drivers/net/wan/comx.c
Previous file: linux/drivers/net/tulip/tulip_core.c
Back to the patch index
Back to the overall index
- Lines: 28
- Date:
Sat Nov 11 19:02:39 2000
- Orig file:
v2.4.0-test10/linux/drivers/net/wan/comx-proto-lapb.c
- Orig date:
Wed Jul 5 10:56:13 2000
diff -u --recursive --new-file v2.4.0-test10/linux/drivers/net/wan/comx-proto-lapb.c linux/drivers/net/wan/comx-proto-lapb.c
@@ -15,6 +15,9 @@
* Version 0.80 (99/06/14):
* - cleaned up the source code a bit
* - ported back to kernel, now works as non-module
+ *
+ * Changed (00/10/29, Henner Eisen):
+ * - comx_rx() / comxlapb_data_indication() return status.
*
*/
@@ -359,7 +362,7 @@
comx_status(ch->dev, ch->line_status);
}
-static void comxlapb_data_indication(void *token, struct sk_buff *skb)
+static int comxlapb_data_indication(void *token, struct sk_buff *skb)
{
struct comx_channel *ch = token;
@@ -373,7 +376,7 @@
skb->dev = ch->dev;
skb->mac.raw = skb->data;
- comx_rx(ch->dev, skb);
+ return comx_rx(ch->dev, skb);
}
static void comxlapb_data_transmit(void *token, struct sk_buff *skb)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)