summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2019-04-29 22:19:12 +0300
committerDavid S. Miller <davem@davemloft.net>2019-05-01 18:37:56 +0300
commit2dcb003314032c6efb13a065ffae60d164b2dd35 (patch)
treeb64c7ba4758ecae0346158cf8b828c222ead460a /arch
parent15d55bae4e3c43cd9f87fd93c73a263e172d34e1 (diff)
downloadlinux-2dcb003314032c6efb13a065ffae60d164b2dd35.tar.xz
net/tls: avoid NULL pointer deref on nskb->sk in fallback
update_chksum() accesses nskb->sk before it has been set by complete_skb(), move the init up. Fixes: e8f69799810c ("net/tls: Add generic NIC offload infrastructure") Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: Simon Horman <simon.horman@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions