diff options
author | 2015-07-29 21:15:18 +0200 | |
---|---|---|
committer | 2015-07-29 14:59:58 -0700 | |
commit | 9db7f2b818809ef2c40fbd64cfcf5ccb0107d7e8 (patch) | |
tree | e4d0b2ed3dc2e6900106edff81e834f063007e1c /net/ipv6/tcp_ipv6.c | |
parent | s390/bpf: Only clear A and X for converted BPF programs (diff) | |
download | wireguard-linux-9db7f2b818809ef2c40fbd64cfcf5ccb0107d7e8.tar.xz wireguard-linux-9db7f2b818809ef2c40fbd64cfcf5ccb0107d7e8.zip |
s390/bpf: recache skb->data/hlen for skb_vlan_push/pop
Allow eBPF programs attached to TC qdiscs call skb_vlan_push/pop
via helper functions. These functions may change skb->data/hlen.
This data is cached by s390 JIT to improve performance of ld_abs/ld_ind
instructions. Therefore after a change we have to reload the data.
In case of usage of skb_vlan_push/pop, in the prologue we store
the SKB pointer on the stack and restore it after BPF_JMP_CALL
to skb_vlan_push/pop.
Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/tcp_ipv6.c')
0 files changed, 0 insertions, 0 deletions