[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220223205510.0bd583cf@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
Date: Wed, 23 Feb 2022 20:55:10 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Dimitris Michailidis <d.michailidis@...gible.com>
Cc: davem@...emloft.net, netdev@...r.kernel.org, andrew@...n.ch
Subject: Re: [PATCH net-next v7 6/8] net/funeth: add the data path
On Fri, 18 Feb 2022 15:45:34 -0800 Dimitris Michailidis wrote:
> + if (unlikely(skb->len < FUN_TX_MIN_LEN)) {
> + FUN_QSTAT_INC(q, tx_len_err);
> + return 0;
> + }
Is there something in the standards that says 32 byte frames are
invalid? __skb_put_padto() is your friend.
Powered by blists - more mailing lists