Re: [PATCH net-next] net/packet: Fix a comment about hard_header_len and add a warning for it

From: Xie He
Date: Sun Sep 13 2020 - 04:43:32 EST


On Sun, Sep 13, 2020 at 1:11 AM Willem de Bruijn
<willemdebruijn.kernel@xxxxxxxxx> wrote:
>
> I am concerned about adding a WARN_ON_ONCE that we already expect to
> fire on some platforms.
>
> Probably better to add the documentation without the warning.
>
> I know I suggested the check before, sorry for the churn, but I hadn't
> checked the existing state yet.

OK. No problem. It's always good to discuss and find out the best way
before we do the changes.

I'll drop the WARN_ON_ONCE part and resubmit the patch.