[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANn89i+LDSsXuSaUxfVNx2bT1YhFXjoYVpxz4G7T4X+jXAUgcQ@mail.gmail.com>
Date: Mon, 19 Sep 2016 07:41:02 -0700
From: Eric Dumazet <edumazet@...gle.com>
To: Lance Richardson <lrichard@...hat.com>
Cc: Neal Cardwell <ncardwell@...gle.com>,
David Miller <davem@...emloft.net>,
netdev <netdev@...r.kernel.org>,
Soheil Hassas Yeganeh <soheil@...gle.com>,
Yuchung Cheng <ycheng@...gle.com>
Subject: Re: [PATCH v3 net-next 05/16] tcp: switch back to proper tcp_skb_cb
size check in tcp_init()
On Mon, Sep 19, 2016 at 7:37 AM, Lance Richardson <lrichard@...hat.com> wrote:
> The skb local variable could be avoided via:
>
> BUILD_BUG_ON(sizeof(struct tcp_skb_cb) > FIELD_SIZEOF(struct sk_buff, cb));
>
Right you are, thanks !
Powered by blists - more mailing lists