On Mon, Sep 19, 2016 at 7:37 AM, Lance Richardson 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 !
> From: "Neal Cardwell"
> To: "David Miller"
> Cc: netdev@vger.kernel.org, "Eric Dumazet" , "Soheil
> Hassas Yeganeh" , "Neal
> Cardwell" , "Yuchung Cheng"
> Sent: Sunday, September 18, 2016 6:03:42 PM
> Subject: [PATCH v3 net-next 05/16] tcp: switch back to proper tcp_skb_cb size
> check in t