Files
linux_media/include/linux
Florent Revest dba4a9256b net: Remove the err argument from sock_from_file
Currently, the sock_from_file prototype takes an "err" pointer that is
either not set or set to -ENOTSOCK IFF the returned socket is NULL. This
makes the error redundant and it is ignored by a few callers.

This patch simplifies the API by letting callers deduce the error based
on whether the returned socket is NULL or not.

Suggested-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Florent Revest <revest@google.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Reviewed-by: KP Singh <kpsingh@google.com>
Link: https://lore.kernel.org/bpf/20201204113609.1850150-1-revest@google.com
2020-12-04 22:32:40 +01:00
..
2020-11-06 08:08:37 -08:00
2020-09-21 15:00:40 -07:00
2020-10-16 17:21:51 +02:00
2020-10-27 16:22:43 +01:00
2020-09-30 22:44:26 +02:00
2020-11-26 00:04:04 +01:00
2020-09-16 08:54:53 -05:00
2020-08-26 12:41:56 +02:00
2020-11-19 22:38:29 -05:00
2020-10-13 18:38:32 -07:00
2020-09-04 09:25:20 -07:00
2020-09-23 18:02:49 -07:00
2020-09-04 12:46:07 +01:00
2020-08-27 16:06:47 -04:00
2020-10-07 14:28:39 -04:00
2020-09-24 19:49:36 -07:00
2020-08-31 12:52:33 -07:00
2020-10-18 09:27:10 -07:00
2020-11-06 10:05:18 -08:00
2020-09-26 22:55:05 -04:00
2020-09-10 14:03:31 -07:00
2020-10-18 09:27:10 -07:00
2020-10-05 13:21:49 +02:00