commit | a80db69e47d764bbcaf2fec54b1f308925e7c490 | [log] [tgz] |
---|---|---|
author | WANG Cong <xiyou.wangcong@gmail.com> | Thu Mar 23 11:03:31 2017 -0700 |
committer | David S. Miller <davem@davemloft.net> | Fri Mar 24 13:13:53 2017 -0700 |
tree | 3ea517edcaa774dc86f59f34d11699a4ef75a355 | |
parent | a5af83925363eb85d467933e3d6ec5a87001eb7c [diff] |
kcm: return immediately after copy_from_user() failure There is no reason to continue after a copy_from_user() failure. Fixes: ab7ac4eb9832 ("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>