]> git.karo-electronics.de Git - mv-sheeva.git/commit
[NET]: Validate socket filters against BPF_MAXINSNS in one spot.
authorDavid S. Miller <davem@sunset.davemloft.net>
Tue, 27 Dec 2005 21:57:59 +0000 (13:57 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Tue, 27 Dec 2005 21:57:59 +0000 (13:57 -0800)
commit1b93ae64cabe5e28dd5a1f35f96f938ca4f6ae20
treea8c5c7d08e6c658853245ad0b0cf47f0af1ff83d
parent6732badee0dad467fcc9dd0168af8677b2b1bc2f
[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: David S. Miller <davem@davemloft.net>
drivers/net/ppp_generic.c
net/core/filter.c