diff options
-rw-r--r-- | drivers/ipoe/ipoe.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/ipoe/ipoe.c b/drivers/ipoe/ipoe.c index 059b1397..c2a7d61f 100644 --- a/drivers/ipoe/ipoe.c +++ b/drivers/ipoe/ipoe.c @@ -775,6 +775,9 @@ static rx_handler_result_t ipoe_recv(struct sk_buff **pskb) return RX_HANDLER_PASS; return RX_HANDLER_CONSUMED; + } else if (unlikely(skb->protocol == htons(ETH_P_ARP))) { + atomic_dec(&ses->refs); + return RX_HANDLER_PASS; } stats = &ses->dev->stats; |