On 1 December 2016 at 17:04, Yang, Yi Y <[email protected]> wrote:
> Joe, it is my bad. Our nsh patches added two pointer variables to " struct 
> ovs_skb_cb", that increased its size by 16 bytes, but sk_buff.cb only has 48 
> bytes, when I build ovs with "--with-linux=..." option, sizeof(struct 
> ovs_gso_cb) will be over 48 bytes, that is the root cause of this build 
> issue. After I manage to remove those two pointer variables, it can be built 
> successfully. But sizeof(struct ovs_gso_cb) is still 48 bytes, obviously it 
> can't be extended any more in the future unless Linux kernel changes 
> sk_buff.cb to bigger size.

OK, glad to hear it doesn't affect released versions of OVS.

I wouldn't count on Linux expanding the sk_buff.
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to