On Fri, 2015-07-03 at 09:37 -0700, David Miller wrote: > From: Eric Dumazet <eric.duma...@gmail.com> > Date: Fri, 03 Jul 2015 07:00:23 +0200 > > > tcp_skb_cb is currently 44 bytes, so even if you add one u32, it should > > not exceed cb[] > > Please see sock_skb_cb, which consumes space in skb->cb[] in parallel > with things like tcp_skb_cb. The usage of skb->cb[] therefore really > is 48 bytes and I'm sure the build time assertions triggered if > Lawrence added the new tcp_skb_cb member without first increasing it's > size.
Oh... this part is completely buggy then. We should revert net/ipv4/tcp.c change added in commit b4772ef879a8f7d8c56118c2ae5a296fcf6f81d2 net: use common macro for assering skb->cb[] available size in protocol families -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html