[Devel] Re: [PATCH] Use BUILD_BUG_ON for tcp_skb_cb size checking
    David Miller 
    davem at davemloft.net
       
    Tue Dec 11 02:12:14 PST 2007
    
    
  
From: Pavel Emelyanov <xemul at openvz.org>
Date: Fri, 07 Dec 2007 20:42:04 +0300
> The sizeof(struct tcp_skb_cb) should not be less than the
> sizeof(skb->cb). This is checked in net/ipv4/tcp.c, but
> this check can be made more gracefully.
> 
> Signed-off-by: Pavel Emelyanov <xemul at openvz.org>
Applied to net-2.6.25, thanks.
    
    
More information about the Devel
mailing list