diff options
| author | 2015-05-05 17:13:28 +0200 | |
|---|---|---|
| committer | 2016-11-10 13:28:42 +0100 | |
| commit | bec810d973003b30bc477146904af6bd93fd2df8 (patch) | |
| tree | 8827ea88f940fc56af9d37e1dec31fcf521c1660 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
| parent | netfilter: ipset: Headers file cleanup (diff) | |
| download | wireguard-linux-bec810d973003b30bc477146904af6bd93fd2df8.tar.xz wireguard-linux-bec810d973003b30bc477146904af6bd93fd2df8.zip | |
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 <popovich_sergei@mail.ua>.
Suggested-by: Sergey Popovich <popovich_sergei@mail.ua>
Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions
