diff options
| author | Eric Dumazet <[email protected]> | 2019-09-05 20:20:41 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-09-07 15:32:28 +0000 |
| commit | b58662a5f7f4677debd5e28d10145cf5decd516b (patch) | |
| tree | 32d0dcfaa1ed927c724a286773a3e47317f9f780 /drivers/net/hyperv/hyperv_net.h | |
| parent | net: fib_notifier: move fib_notifier_ops from struct net into per-net struct (diff) | |
| download | kernel-b58662a5f7f4677debd5e28d10145cf5decd516b.tar.gz kernel-b58662a5f7f4677debd5e28d10145cf5decd516b.zip | |
tcp: ulp: fix possible crash in tcp_diag_get_aux_size()
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]>
Acked-by: Davide Caratti <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/hyperv/hyperv_net.h')
0 files changed, 0 insertions, 0 deletions
