summaryrefslogtreecommitdiffstats
path: root/net/ipv6/ila
diff options
context:
space:
mode:
authorXin Long2017-06-20 10:05:11 +0200
committerDavid S. Miller2017-06-20 21:32:55 +0200
commit5ee8aa689780f2c19702fe3768a3103b9c07d72e (patch)
tree51756f9ea4bb01a443a783b5cb22f0f587dcff9b /net/ipv6/ila
parentsctp: uncork the old asoc before changing to the new one (diff)
downloadkernel-qcow2-linux-5ee8aa689780f2c19702fe3768a3103b9c07d72e.tar.gz
kernel-qcow2-linux-5ee8aa689780f2c19702fe3768a3103b9c07d72e.tar.xz
kernel-qcow2-linux-5ee8aa689780f2c19702fe3768a3103b9c07d72e.zip
sctp: handle errors when updating asoc
It's a bad thing not to handle errors when updating asoc. The memory allocation failure in any of the functions called in sctp_assoc_update() would cause sctp to work unexpectedly. This patch is to fix it by aborting the asoc and reporting the error when any of these functions fails. Signed-off-by: Xin Long <lucien.xin@gmail.com> Acked-by: Neil Horman <nhorman@tuxdriver.com> Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/ila')
0 files changed, 0 insertions, 0 deletions