Home
last modified time | relevance | path

Searched hist:"2 dcb003314032c6efb13a065ffae60d164b2dd35" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/tls/
H A Dtls_device_fallback.cdiff 2dcb003314032c6efb13a065ffae60d164b2dd35 Mon Apr 29 14:19:12 CDT 2019 Jakub Kicinski <jakub.kicinski@netronome.com> 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>