]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - net/tls/tls_device.c
net/tls: check return values from skb_copy_bits() and skb_store_bits()
authorJakub Kicinski <jakub.kicinski@netronome.com>
Mon, 3 Jun 2019 22:16:59 +0000 (15:16 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Jun 2019 21:33:50 +0000 (14:33 -0700)
commitaeb11ff0dc46be309ba000af7e608f8d3695fd6e
treef03aae57934103c8e271d89b472ba2351f840853
parentda29e4b466e6916a52e0e2f60054f855c324a9c2
net/tls: check return values from skb_copy_bits() and skb_store_bits()

In light of recent bugs, we should make a better effort of
checking return values.  In theory none of the functions should
fail today.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Dirk van der Merwe <dirk.vandermerwe@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tls/tls_device.c