Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sock_diag: fix autoloading of the raw_diag module
IPPROTO_RAW isn't registred as an inet protocol, so inet_protos[protocol] is always NULL for it. Cc: Cyrill Gorcunov <[email protected]> Cc: Xin Long <[email protected]> Fixes: bf2ae2e ("sock_diag: request _diag module only when the family or proto has been registered") Signed-off-by: Andrei Vagin <[email protected]> Reviewed-by: Cyrill Gorcunov <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information