Re: [net-next PATCH] net: pack tc_cls_u32_knode struct slighter better

2016-02-17 Thread David Miller
From: John Fastabend Date: Wed, 17 Feb 2016 14:59:30 -0800 > By packing the structure we can remove a few holes as Jamal > suggests. > > before: ... > after: ... > Suggested-by: Jamal Hadi Salim > Signed-off-by: John Fastabend

[net-next PATCH] net: pack tc_cls_u32_knode struct slighter better

2016-02-17 Thread John Fastabend
By packing the structure we can remove a few holes as Jamal suggests. before: struct tc_cls_u32_knode { struct tcf_exts * exts; /* 0 8 */ u8 fshift; /* 8 1 */ /* XXX 3 bytes hole, try to pack