aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2019-11-27 12:16:39 -0800
committerDavid S. Miller <davem@davemloft.net>2019-11-28 22:40:29 -0800
commitc329ef9684de9517d82af5b4758c9e1b64a8a11a (patch)
treea4f623037c5505b26a1a70e01786352308b6a5cd /include
parentMerge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux; tag 'dma-mapping-5.5' of git://git.infradead.org/users/hch/dma-mapping (diff)
downloadwireguard-linux-c329ef9684de9517d82af5b4758c9e1b64a8a11a.tar.xz
wireguard-linux-c329ef9684de9517d82af5b4758c9e1b64a8a11a.zip
net/tls: take into account that bpf_exec_tx_verdict() may free the record
bpf_exec_tx_verdict() may free the record if tls_push_record() fails, or if the entire record got consumed by BPF. Re-check ctx->open_rec before touching the data. Fixes: d3b18ad31f93 ("tls: add bpf support to sk_msg handling") Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: Simon Horman <simon.horman@netronome.com> Acked-by: John Fastabend <john.fastabend@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions