diff options
Diffstat (limited to 'drivers/s390/net')
-rw-r--r-- | drivers/s390/net/lcs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/s390/net/lcs.c b/drivers/s390/net/lcs.c index f51ed9972587..dd22f4b37037 100644 --- a/drivers/s390/net/lcs.c +++ b/drivers/s390/net/lcs.c | |||
@@ -1793,7 +1793,8 @@ lcs_get_skb(struct lcs_card *card, char *skb_data, unsigned int skb_len) | |||
1793 | skb->protocol = card->lan_type_trans(skb, card->dev); | 1793 | skb->protocol = card->lan_type_trans(skb, card->dev); |
1794 | card->stats.rx_bytes += skb_len; | 1794 | card->stats.rx_bytes += skb_len; |
1795 | card->stats.rx_packets++; | 1795 | card->stats.rx_packets++; |
1796 | *((__u32 *)skb->cb) = ++card->pkt_seq; | 1796 | if (skb->protocol == htons(ETH_P_802_2)) |
1797 | *((__u32 *)skb->cb) = ++card->pkt_seq; | ||
1797 | netif_rx(skb); | 1798 | netif_rx(skb); |
1798 | } | 1799 | } |
1799 | 1800 | ||