mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
kcm: return immediately after copy_from_user() failure
[ Upstream commita80db69e47] There is no reason to continue after a copy_from_user() failure. Fixes:ab7ac4eb98("kcm: Kernel Connection Multiplexor module") Cc: Tom Herbert <tom@herbertland.com> Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
c63d618007
commit
d60d4e8c1b
1 changed files with 3 additions and 3 deletions
Loading…
Add table
Add a link
Reference in a new issue