aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorJozsef Kadlecsik <[email protected]>2015-05-05 17:13:28 +0200
committerJozsef Kadlecsik <[email protected]>2016-11-10 13:28:42 +0100
commitbec810d973003b30bc477146904af6bd93fd2df8 (patch)
tree8827ea88f940fc56af9d37e1dec31fcf521c1660 /scripts/gcc-plugins/cyc_complexity_plugin.c
parent7ffea37957b900422ce8b82e9651f7a0a6fac733 (diff)
netfilter: ipset: Improve skbinfo get/init helpers
Use struct ip_set_skbinfo in struct ip_set_ext instead of open coded fields and assign structure members in get/init helpers instead of copying members one by one. Explicitly note that struct ip_set_skbinfo must be padded to prevent non-aligned access in the extension blob. Ported from a patch proposed by Sergey Popovich <[email protected]>. Suggested-by: Sergey Popovich <[email protected]> Signed-off-by: Jozsef Kadlecsik <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions