Skip to content
Commit 1b93ae64 authored by David S. Miller's avatar David S. Miller
Browse files

[NET]: Validate socket filters against BPF_MAXINSNS in one spot.



Currently the checks are scattered all over and this leads
to inconsistencies and even cases where the check is not made.

Based upon a patch from Kris Katterjohn.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 6732bade
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment