On Thu, Sep 5, 2019 at 10:20 PM Eric Dumazet <eduma...@google.com> 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 <eduma...@google.com>
> Reported-by: Luke Hsiao <lukehs...@google.com>
> Reported-by: Neal Cardwell <ncardw...@google.com>
> Cc: Davide Caratti <dcara...@redhat.com>
> ---

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

Reply via email to