From owner-freebsd-current@FreeBSD.ORG Sun Jul 8 15:21:18 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8E98316A421 for ; Sun, 8 Jul 2007 15:21:18 +0000 (UTC) (envelope-from michiel@boland.org) Received: from neerbosch.nijmegen.internl.net (neerbosch.nijmegen.internl.net [217.149.193.38]) by mx1.freebsd.org (Postfix) with ESMTP id 171B013C45A for ; Sun, 8 Jul 2007 15:21:17 +0000 (UTC) (envelope-from michiel@boland.org) Received: from neerbosch.nijmegen.internl.net by neerbosch.nijmegen.internl.net via neerbosch.nijmegen.internl.net [217.149.193.38] with ESMTP for id l68FLGj1013578 (8.13.4/1.4); Sun, 8 Jul 2007 17:21:16 +0200 (MEST) Received: from localhost by neerbosch.nijmegen.internl.net via mboland@localhost with ESMTP for id l68FLGcM013574 (8.13.4/2.02); Sun, 8 Jul 2007 17:21:16 +0200 (MEST) X-Authentication-Warning: neerbosch.nijmegen.internl.net: mboland owned process doing -bs Date: Sun, 8 Jul 2007 17:21:16 +0200 (MEST) From: Michiel Boland To: freebsd-current@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: confusing kdump output X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jul 2007 15:21:18 -0000 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