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 bbeae3a commit 966b56fCopy full SHA for 966b56f
include/net/netfilter/nf_flow_table.h
@@ -353,7 +353,7 @@ static inline __be16 __nf_flow_pppoe_proto(const struct sk_buff *skb)
353
354
static inline bool nf_flow_pppoe_proto(struct sk_buff *skb, __be16 *inner_proto)
355
{
356
- if (!pskb_may_pull(skb, PPPOE_SES_HLEN))
+ if (!pskb_may_pull(skb, ETH_HLEN + PPPOE_SES_HLEN))
357
return false;
358
359
*inner_proto = __nf_flow_pppoe_proto(skb);
0 commit comments