Skip to content
Commit d4f06873 authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller
Browse files

inet: get_openreq4() & get_openreq6() do not need listener



ireq->ir_num contains local port, use it.

Also, get_openreq4() dumping listen_sk->refcnt makes litle sense.

inet_diag_fill_req() can also use ireq->ir_num

Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 41b822c5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment