diff options
author | WANG Cong <xiyou.wangcong@gmail.com> | 2017-03-23 11:03:31 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-03-24 13:13:53 -0700 |
commit | a80db69e47d764bbcaf2fec54b1f308925e7c490 (patch) | |
tree | 3ea517edcaa774dc86f59f34d11699a4ef75a355 /drivers/net/macsec.c | |
parent | a5af83925363eb85d467933e3d6ec5a87001eb7c (diff) | |
download | linux-a80db69e47d764bbcaf2fec54b1f308925e7c490.tar.bz2 |
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>
Diffstat (limited to 'drivers/net/macsec.c')
0 files changed, 0 insertions, 0 deletions