From: Eric Dumazet <[email protected]>
Date: Thu, 5 Sep 2019 13:20:41 -0700
> tcp_diag_get_aux_size() can be called with sockets in any state.
>
> icsk_ulp_ops is only present for full sockets.
>
> For SYN_RECV or TIME_WAIT ones we would access garbage.
>
> Fixes: 61723b393292 ("tcp: ulp: add functions to dump ulp-specific
> information")
> Signed-off-by: Eric Dumazet <[email protected]>
> Reported-by: Luke Hsiao <[email protected]>
> Reported-by: Neal Cardwell <[email protected]>
Applied to net-next, thanks Eric.