summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/ipoe/ipoe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ipoe/ipoe.c b/drivers/ipoe/ipoe.c
index d787f82..5bafde6 100644
--- a/drivers/ipoe/ipoe.c
+++ b/drivers/ipoe/ipoe.c
@@ -729,7 +729,7 @@ static rx_handler_result_t ipoe_recv(struct sk_buff **pskb)
} else if (likely(skb->protocol == htons(ETH_P_ARP))) {
noff = skb_network_offset(skb);
- if (skb->len != sizeof(*arph))
+ if (skb->len < sizeof(*arph))
return RX_HANDLER_PASS;
if (!pskb_may_pull(skb, sizeof(*arph) + noff))