diff options
author | Patrick McHardy | 2006-09-20 12:05:37 -0700 |
---|---|---|
committer | David S. Miller | 2006-09-22 15:20:01 -0700 |
commit | 9fa492cdc160cd27ce1046cb36f47d3b2b1efa21 (patch) | |
tree | 6ecb2a92a87523af2a1f7236f0bca456ca0677f3 /mm/vmalloc.c | |
parent | 79030ed07de673e8451a03aecb9ada9f4d75d491 (diff) |
[NETFILTER]: x_tables: simplify compat API
Split the xt_compat_match/xt_compat_target into smaller type-safe functions
performing just one operation. Handle all alignment and size-related
conversions centrally in these function instead of requiring each module to
implement a full-blown conversion function. Replace ->compat callback by
->compat_from_user and ->compat_to_user callbacks, responsible for
converting just a single private structure.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm/vmalloc.c')
0 files changed, 0 insertions, 0 deletions