diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2021-07-07 13:01:00 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-07-08 06:49:12 +0300 |
commit | 271dbc31843244e5192f0f8a8be0da26995f944a (patch) | |
tree | 15474ecabbcae87c4f6e36c351d657b4c04e5781 /certs | |
parent | d7fba8ff3e50fb25ffe583bf945df052f6caffa2 (diff) | |
download | linux-271dbc31843244e5192f0f8a8be0da26995f944a.tar.xz |
sock: unlock on error in sock_setsockopt()
If copy_from_sockptr() then we need to unlock before returning.
Fixes: d463126e23f1 ("net: sock: extend SO_TIMESTAMPING for PHC binding")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions