mdb's ::netstat doesn't print UDP conn_t pointer correctly
If you use "::netstat -P udp" on a kernel mdb (kmdb or "mdb -k"), all of the UDP sessions print the same pointer. This is clearly a bug.
The bug, BTW, is that the printed pointer is from the mdb process's address space, not from the actual kernel. The netstat_udp_cb() function is broken, in a way that its counterpart netstat_tcp_cb() is not. Make the UDP one act more like the TCP one.
Updated by Electric Monk almost 4 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
commit e40108ff341f07fe03e96c751c6cf2cb5867d1a8 Author: Dan McDonald <firstname.lastname@example.org> Date: 2017-02-22T14:38:30.000Z 7898 mdb's ::netstat doesn't print UDP conn_t pointer correctly Reviewed by: Richard Lowe <email@example.com> Reviewed by: Igor Kozhukhov <firstname.lastname@example.org> Approved by: Robert Mustacchi <email@example.com>