summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
diff options
context:
space:
mode:
authorWillem de Bruijn2017-04-11 20:08:08 +0200
committerDavid S. Miller2017-04-11 20:54:19 +0200
commit8f917bba0042f1e3b7693743fbe9782709e936e7 (patch)
tree5adc788308ed37a25a9911c42149638052f24b47 /drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
parentdevlink: fix return value check in devlink_dpipe_header_put() (diff)
downloadkernel-qcow2-linux-8f917bba0042f1e3b7693743fbe9782709e936e7.tar.gz
kernel-qcow2-linux-8f917bba0042f1e3b7693743fbe9782709e936e7.tar.xz
kernel-qcow2-linux-8f917bba0042f1e3b7693743fbe9782709e936e7.zip
bpf: pass sk to helper functions
BPF helper functions access socket fields through skb->sk. This is not set in ingress cgroup and socket filters. The association is only made in skb_set_owner_r once the filter has accepted the packet. Sk is available as socket lookup has taken place. Temporarily set skb->sk to sk in these cases. Signed-off-by: Willem de Bruijn <willemb@google.com> Acked-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/stmicro/stmmac/stmmac_main.c')
0 files changed, 0 insertions, 0 deletions