diff options
author | Jakub Kicinski <jakub.kicinski@netronome.com> | 2019-04-29 22:19:12 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-05-01 18:37:56 +0300 |
commit | 2dcb003314032c6efb13a065ffae60d164b2dd35 (patch) | |
tree | b64c7ba4758ecae0346158cf8b828c222ead460a /arch | |
parent | 15d55bae4e3c43cd9f87fd93c73a263e172d34e1 (diff) | |
download | linux-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