bpf: don't use builtin memset/memcpy in bpf_parse_rules
commitee58be50845991361c2e0d0324cc8a2e6ec57049
authorTobias Klauser <tklauser@distanz.ch>
Mon, 22 Jan 2018 17:10:41 +0000 (22 18:10 +0100)
committerTobias Klauser <tklauser@distanz.ch>
Mon, 22 Jan 2018 17:10:41 +0000 (22 18:10 +0100)
treedf7f19293d2342e699b104809a474fe398e38d16
parent92609553c7c6da3214482b1f39bef7cce41a6fdf
bpf: don't use builtin memset/memcpy in bpf_parse_rules

bpf_parse_rules is not called in a fast path, so just use the plain
memset/memcpy and let the compiler decide whether they should be
replaced.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
bpf.c