summaryrefslogtreecommitdiff
path: root/net/ipv6/tcp_ipv6.c
diff options
context:
space:
mode:
authorMichael Holzheu <holzheu@linux.vnet.ibm.com>2015-07-29 21:15:17 +0200
committerDavid S. Miller <davem@davemloft.net>2015-07-29 14:59:58 -0700
commitcde66c2d88da1d73d755109c80ce4c34b917596b (patch)
tree888437f97f8dd86ce7dc02a2a607c97e46b4fdbc /net/ipv6/tcp_ipv6.c
parentce2b6ad9c1856fac5d5e8d3351b3dd5392e09b7a (diff)
s390/bpf: Only clear A and X for converted BPF programs
Only classic BPF programs that have been converted to eBPF need to clear the A and X registers. We can check for converted programs with: bpf_prog->type == BPF_PROG_TYPE_UNSPEC So add the check and skip initialization for real eBPF programs. 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