flow_dissector: constify bpf_flow_dissector's data pointers
authorAlexander Lobakin <alobakin@pm.me>
Sun, 14 Mar 2021 11:11:00 +0000 (11:11 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 14 Mar 2021 21:46:32 +0000 (14:46 -0700)
commitdac06b32c705dc8824479b03eee826b4f6615ab2
treeb009674e3235df1cff8c6bb67a7cd433f3200a58
parent3f79eb3c3a6abaa8f9900b5e40994060d7341cbc
flow_dissector: constify bpf_flow_dissector's data pointers

BPF Flow dissection programs are read-only and don't touch input
buffers.
Mark 'data' and 'data_end' in struct bpf_flow_dissector as const
in preparation for global input constifying.

Signed-off-by: Alexander Lobakin <alobakin@pm.me>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/flow_dissector.h