aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorDaniel Borkmann <daniel@iogearbox.net>2017-08-17 17:22:36 +0200
committerDavid S. Miller <davem@davemloft.net>2017-08-17 10:25:18 -0700
commit976d28bfd1f62a3f8e5370c5e7127ff5b3499359 (patch)
tree772b86c56604fa18395437281ce0861522369daf /net
parentnet: ibm: ibmvnic: constify vio_device_id (diff)
downloadlinux-dev-976d28bfd1f62a3f8e5370c5e7127ff5b3499359.tar.xz
linux-dev-976d28bfd1f62a3f8e5370c5e7127ff5b3499359.zip
bpf: don't enable preemption twice in smap_do_verdict
In smap_do_verdict(), the fall-through branch leads to call preempt_enable() twice for the SK_REDIRECT, which creates an imbalance. Only enable it for all remaining cases again. Fixes: 174a79ff9515 ("bpf: sockmap with sk redirect support") Reported-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: John Fastabend <john.fastabend@gmail.com> Acked-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions