summaryrefslogtreecommitdiff
path: root/net/ipv6/protocol.c
diff options
context:
space:
mode:
authorIra Weiny <ira.weiny@intel.com>2020-08-10 17:02:58 -0700
committerDavid S. Miller <davem@davemloft.net>2020-08-11 10:20:34 -0700
commitb06c19d9f827f6743122795570bfc0c72db482b0 (patch)
treeb0fee16b5e902c40afff53b91688540a9b411b00 /net/ipv6/protocol.c
parent444da3f52407d74c9aa12187ac6b01f76ee47d62 (diff)
downloadlinux-next-b06c19d9f827f6743122795570bfc0c72db482b0.tar.gz
net/tls: Fix kmap usage
When MSG_OOB is specified to tls_device_sendpage() the mapped page is never unmapped. Hold off mapping the page until after the flags are checked and the page is actually needed. Fixes: e8f69799810c ("net/tls: Add generic NIC offload infrastructure") Signed-off-by: Ira Weiny <ira.weiny@intel.com> Reviewed-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/protocol.c')
0 files changed, 0 insertions, 0 deletions