Dan Carpenter 271dbc3184 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>
2021-07-07 20:49:12 -07:00
..
2021-06-03 15:13:56 -07:00
2021-06-30 15:51:09 -07:00
2020-04-20 12:43:24 -07:00
2020-03-29 22:30:57 -07:00
2021-04-16 11:41:07 -07:00
2021-04-20 16:08:02 -07:00
2020-06-18 20:46:23 -07:00