On Thu, Sep 5, 2019 at 10:20 PM Eric Dumazet <[email protected]> wrote:
>
> 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]>
> Cc: Davide Caratti <[email protected]>
> ---

Sorry for the 'net' tag. This patch targets net-next tree only.

Reply via email to