confusing kdump output

From: Michiel Boland <michiel_at_boland.org>
Date: Sun, 8 Jul 2007 17:21:16 +0200 (MEST)
Hi. If a program does something like

setsockopt(sock, IPPROTO_TCP, TCP_NOPUSH, &onoff, sizeof onoff)

this is reported by kdump as

setsockopt(0x2a,0x6,SO_REUSEADDR,0x7fffffffe32c,0x4)

Note that it reports SO_REUSEADDR rather than TCP_NOPUSH. This is 
confusing.

It's probably a bit useless to compile all possible printable socket 
options into kdump, but at least it could be made to not print a symbolic 
name if the level is, say, not SOL_SOCKET.

Cheers
Michiel
Received on Sun Jul 08 2007 - 13:21:18 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:13 UTC