From: Andrei Vagin <[email protected]> Date: Sun, 4 Nov 2018 22:37:15 -0800
> IPPROTO_TCP 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: bf2ae2e4bf93 ("sock_diag: request _diag module only when the family or > proto has been registered") > Signed-off-by: Andrei Vagin <[email protected]> Applied and queued up for -stable.
