From: David Miller <davem@davemloft.net> Date: 2016-01-09 02:41:09
From: Daniel Borkmann <daniel@iogearbox.net>
Date: Wed, 6 Jan 2016 22:32:16 +0100
Move the details behind the cb[] access into a small helper to decouple
and make them generic for bpf_prog_run_save_cb()/bpf_prog_run_clear_cb()
that was introduced via commit ff936a04e5f2 ("bpf: fix cb access in socket
filter programs"). Also add a comment to better clarify what is done in
bpf_skb_cb().
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>