summaryrefslogtreecommitdiff
path: root/net/ipv4
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2019-04-29 12:19:12 -0700
committerDavid S. Miller <davem@davemloft.net>2019-05-01 11:37:56 -0400
commit2dcb003314032c6efb13a065ffae60d164b2dd35 (patch)
treeb64c7ba4758ecae0346158cf8b828c222ead460a /net/ipv4
parent15d55bae4e3c43cd9f87fd93c73a263e172d34e1 (diff)
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 'net/ipv4')
0 files changed, 0 insertions, 0 deletions