Subject: Re: [PATCH net] netrom: do some basic forms of validation on incoming frames

From: Jakub Kicinski <[email-masked]>
Date: Thu, 9 Apr 2026 20:32:35 -0700

On Thu, 9 Apr 2026 20:03:28 +0100 Simon Horman wrote:
> I expect that checking skb->len isn't sufficient here
> and pskb_may_pull needs to be used to ensure that
> the data is also available in the linear section of the skb.

Or for simplicity we could also be testing against skb_headlen()
since we don't expect any legit non-linear frames here? Dunno.