From: David S. Miller Date: Wed, 10 Jan 2018 19:53:23 +0000 (-0500) Subject: Merge branch 'sctp-Some-sockopt-optlen-fixes' X-Git-Tag: Ubuntu-5.0.0-8.9~3292^2~10 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=e5143f863c92f9f37b0977e482d6c78e74500f3b;p=mirror_ubuntu-disco-kernel.git Merge branch 'sctp-Some-sockopt-optlen-fixes' Marcelo Ricardo Leitner says: ==================== sctp: Some sockopt optlen fixes Hangbin Liu reported that some SCTP sockopt are allowing the user to get the kernel to allocate really large buffers by not having a ceiling on optlen. This patchset address this issue (in patch 2), replace an GFP_ATOMIC that isn't needed and avoid calculating the option size multiple times in some setsockopt. ==================== Acked-by: Neil Horman Signed-off-by: David S. Miller --- e5143f863c92f9f37b0977e482d6c78e74500f3b