diff options
Diffstat (limited to 'drivers/net/wan/syncppp.c')
-rw-r--r-- | drivers/net/wan/syncppp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wan/syncppp.c b/drivers/net/wan/syncppp.c index 84b65c60c799..b56a7b516d24 100644 --- a/drivers/net/wan/syncppp.c +++ b/drivers/net/wan/syncppp.c | |||
@@ -1440,6 +1440,7 @@ static void sppp_print_bytes (u_char *p, u16 len) | |||
1440 | * @skb: The buffer to process | 1440 | * @skb: The buffer to process |
1441 | * @dev: The device it arrived on | 1441 | * @dev: The device it arrived on |
1442 | * @p: Unused | 1442 | * @p: Unused |
1443 | * @orig_dev: Unused | ||
1443 | * | 1444 | * |
1444 | * Protocol glue. This drives the deferred processing mode the poorer | 1445 | * Protocol glue. This drives the deferred processing mode the poorer |
1445 | * cards use. This can be called directly by cards that do not have | 1446 | * cards use. This can be called directly by cards that do not have |
@@ -1447,7 +1448,7 @@ static void sppp_print_bytes (u_char *p, u16 len) | |||
1447 | * after interrupt servicing to process frames queued via netif_rx. | 1448 | * after interrupt servicing to process frames queued via netif_rx. |
1448 | */ | 1449 | */ |
1449 | 1450 | ||
1450 | static int sppp_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *p) | 1451 | static int sppp_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *p, struct net_device *orig_dev) |
1451 | { | 1452 | { |
1452 | if ((skb = skb_share_check(skb, GFP_ATOMIC)) == NULL) | 1453 | if ((skb = skb_share_check(skb, GFP_ATOMIC)) == NULL) |
1453 | return NET_RX_DROP; | 1454 | return NET_RX_DROP; |