We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19467b4 commit 4e019f2Copy full SHA for 4e019f2
include/net/netfilter/nf_flow_table.h
@@ -370,7 +370,7 @@ static inline __be16 __nf_flow_pppoe_proto(const struct sk_buff *skb)
370
371
static inline bool nf_flow_pppoe_proto(struct sk_buff *skb, __be16 *inner_proto)
372
{
373
- if (!pskb_may_pull(skb, PPPOE_SES_HLEN))
+ if (!pskb_may_pull(skb, ETH_HLEN + PPPOE_SES_HLEN))
374
return false;
375
376
*inner_proto = __nf_flow_pppoe_proto(skb);
0 commit comments