diff options
author | Aaron Conole <aconole@bytheb.org> | 2016-09-21 11:35:05 -0400 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-09-24 21:30:19 +0200 |
commit | d4bb5caa9cc1a802ba25f605b24b5640c025806b (patch) | |
tree | 6386a7de4e22bb333ad4bbb0fa7dc92cbc941aa4 /include/net/netns | |
parent | e2361cb90a0327bdab34d01d1a7b9dbd67c31e60 (diff) | |
download | op-kernel-dev-d4bb5caa9cc1a802ba25f605b24b5640c025806b.zip op-kernel-dev-d4bb5caa9cc1a802ba25f605b24b5640c025806b.tar.gz |
netfilter: Only allow sane values in nf_register_net_hook
This commit adds an upfront check for sane values to be passed when
registering a netfilter hook. This will be used in a future patch for a
simplified hook list traversal.
Signed-off-by: Aaron Conole <aconole@bytheb.org>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/net/netns')
0 files changed, 0 insertions, 0 deletions