Vadim Fedorenko
d12fc818b0
net/tls: free record only on encryption error
...
commit 635d9398178659d8ddba79dd061f9451cec0b4d1 upstream.
We cannot free record on any transient error because it leads to
losing previos data. Check socket error to know whether record must
be freed or not.
Fixes: d10523d0b3d7 ("net/tls: free the record on encryption error")
Signed-off-by: Vadim Fedorenko <vfedorenko@novek.ru>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-06-03 08:21:06 +02:00
..
6lowpan
9p
802
8021q
appletalk
atm
ax25
ax25: fix setsockopt(SO_BINDTODEVICE)
2020-06-03 08:20:39 +02:00
batman-adv
batman-adv: Fix refcnt leak in batadv_v_ogm_process
2020-05-14 07:58:28 +02:00
bluetooth
Bluetooth: RFCOMM: fix ODEBUG bug in rfcomm_dev_ioctl
2020-04-13 10:48:13 +02:00
bpf
bpfilter
net/bpfilter: remove superfluous testing message
2020-04-21 09:04:53 +02:00
bridge
caif
can
ceph
libceph: fix alloc_msg_with_page_vector() memory leaks
2020-04-02 15:11:02 +02:00
core
__netif_receive_skb_core: pass skb by reference
2020-06-03 08:20:47 +02:00
dcb
dccp
decnet
dns_resolver
KEYS: Don't write out to userspace while holding key semaphore
2020-04-23 10:36:45 +02:00
dsa
net: dsa: mt7530: fix roaming from DSA user ports
2020-06-03 08:20:43 +02:00
ethernet
hsr
hsr: check protocol version in hsr_newlink()
2020-04-21 09:04:44 +02:00
ieee802154
nl802154: add missing attribute validation for dev_type
2020-03-18 07:17:44 +01:00
ife
ipv4
nexthop: Fix attribute checking for groups
2020-06-03 08:21:01 +02:00
ipv6
net: don't return invalid table id error when we fall back to PF_UNSPEC
2020-06-03 08:20:41 +02:00
iucv
kcm
key
l2tp
l2tp: Allow management of tunnels and session in user namespace
2020-04-21 09:04:44 +02:00
l3mdev
lapb
llc
mac80211
mac80211: add ieee80211_is_any_nullfunc()
2020-05-10 10:31:32 +02:00
mac802154
mpls
ncsi
netfilter
netfilter: nft_set_rbtree: Add missing expired checks
2020-05-20 08:20:25 +02:00
netlabel
netlabel: cope with NULL catmap
2020-05-20 08:20:08 +02:00
netlink
netlink: Use netlink header as base to calculate bad attribute offset
2020-03-18 07:17:40 +01:00
netrom
net: netrom: Fix potential nr_neigh refcnt leak in nr_add_node
2020-04-29 16:33:08 +02:00
nfc
nfc: add missing attribute validation for vendor subcommand
2020-03-18 07:17:46 +01:00
nsh
openvswitch
net: openvswitch: ovs_ct_exit to be done under ovs_lock
2020-04-29 16:33:08 +02:00
packet
net/packet: tpacket_rcv: avoid a producer race condition
2020-04-01 11:01:35 +02:00
phonet
psample
qrtr
net: qrtr: Fix passing invalid reference to qrtr_local_enqueue()
2020-06-03 08:21:00 +02:00
rds
net/rds: Use ERR_PTR for rds_message_alloc_sgs()
2020-05-20 08:20:27 +02:00
rfkill
rose
rxrpc
rxrpc: Fix ack discard
2020-05-27 17:46:51 +02:00
sched
net_sched: fix tcm_parent in tc filter dump
2020-05-20 08:20:07 +02:00
sctp
sctp: Start shutdown on association restart if in SHUTDOWN-SENT state and socket is closed
2020-06-03 08:21:02 +02:00
smc
net/smc: cancel event worker during device removal
2020-03-18 07:17:59 +01:00
strparser
sunrpc
SUNRPC: Revert 241b1f419f ("SUNRPC: Remove xdr_buf_trim()")
2020-05-20 08:20:39 +02:00
switchdev
tipc
tipc: block BH before using dst_cache
2020-06-03 08:21:03 +02:00
tls
net/tls: free record only on encryption error
2020-06-03 08:21:06 +02:00
unix
vmw_vsock
wimax
wireless
nl80211: fix NL80211_ATTR_FTM_RESPONDER policy
2020-04-21 09:04:59 +02:00
x25
net/x25: Fix x25_neigh refcnt leak when receiving frame
2020-04-29 16:33:09 +02:00
xdp
xsk: Add missing check on user supplied headroom size
2020-04-23 10:36:21 +02:00
xfrm
xfrm: policy: Fix doulbe free in xfrm_policy_timer
2020-04-01 11:02:07 +02:00
compat.c
Kconfig
net: Fix CONFIG_NET_CLS_ACT=n and CONFIG_NFT_FWD_NETDEV={y, m} build
2020-04-01 11:02:18 +02:00
Makefile
socket.c
sysctl_net.c