commit | c34c1287778b080ed692c0a46a8e345206cc29e6 | [log] [tgz] |
---|---|---|
author | Andrei Vagin <avagin@gmail.com> | Sun Nov 04 22:37:15 2018 -0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Nov 05 17:09:19 2018 -0800 |
tree | 360fae225ac0505ee880a8b7d4b82295c9d94d22 | |
parent | d016b4a3562b745fd9fa387a47d8de62ccd7e241 [diff] |
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 <gorcunov@gmail.com> Cc: Xin Long <lucien.xin@gmail.com> Fixes: bf2ae2e4bf93 ("sock_diag: request _diag module only when the family or proto has been registered") Signed-off-by: Andrei Vagin <avagin@gmail.com> Reviewed-by: Cyrill Gorcunov <gorcunov@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>