aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched/cls_api.c
diff options
context:
space:
mode:
authorJohannes Berg <[email protected]>2018-09-27 09:28:36 +0000
committerDavid S. Miller <[email protected]>2018-10-02 06:05:31 +0000
commit33188bd6430ef06d206ae4fda2cc92f14f16fd20 (patch)
treebd3980a02a9896a5a1d60936b451ce40efc44349 /net/sched/cls_api.c
parentnetlink: add attribute range validation to policy (diff)
downloadkernel-33188bd6430ef06d206ae4fda2cc92f14f16fd20.tar.gz
kernel-33188bd6430ef06d206ae4fda2cc92f14f16fd20.zip
netlink: add validation function to policy
Add the ability to have an arbitrary validation function attached to a netlink policy that doesn't already use the validation_data pointer in another way. This can be useful to validate for example the content of a binary attribute, like in nl80211 the "(information) elements", which must be valid streams of "u8 type, u8 length, u8 value[length]". Signed-off-by: Johannes Berg <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/sched/cls_api.c')
0 files changed, 0 insertions, 0 deletions