diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2014-05-12 09:09:26 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2014-05-12 09:12:08 +0200 |
commit | f2154ee8285abee46028afff19e6bf2cb4794efc (patch) | |
tree | adf381482dc3682c8fa5b7ee8764ad5b71307826 /proto_ipv4.c | |
parent | 9a40de458b3884d9f526172110392501f075bd87 (diff) |
bpf: Zero out socket filter in bpf_parse_rules()
Instead of memsetting the struct sock_filter every time before we call
bpf_parse_rules(), do it there directly.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'proto_ipv4.c')
0 files changed, 0 insertions, 0 deletions