Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262526AbUKREZx (ORCPT ); Wed, 17 Nov 2004 23:25:53 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262541AbUKREZx (ORCPT ); Wed, 17 Nov 2004 23:25:53 -0500 Received: from mx1.redhat.com ([66.187.233.31]:4839 "EHLO mx1.redhat.com") by vger.kernel.org with ESMTP id S262526AbUKREZq (ORCPT ); Wed, 17 Nov 2004 23:25:46 -0500 Date: Wed, 17 Nov 2004 23:25:39 -0500 (EST) From: James Morris X-X-Sender: jmorris@thoron.boston.redhat.com To: Ross Kendall Axe cc: netdev@oss.sgi.com, Stephen Smalley , lkml , Chris Wright , "David S. Miller" Subject: Re: [PATCH] linux 2.9.10-rc1: Fix oops in unix_dgram_sendmsg when using SELinux and SOCK_SEQPACKET In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1151 Lines: 42 On Wed, 17 Nov 2004, James Morris wrote: > There is a non SELinux-related bug lurking in this code. I also got this when trying to kill the server (which seems to run at 100% during exit after receving a message sent with sendto() + address): Badness in sk_del_node_init at include/net/sock.h:343 [] dump_stack+0x17/0x19 [] __unix_remove_socket+0x64/0x66 [] unix_release_sock+0x2b/0x259 [] sock_release+0x7a/0xda [] sock_close+0x21/0x3d [] __fput+0x11d/0x15b [] filp_close+0x42/0x74 [] sysenter_past_esp+0x52/0x71 Which is: static __inline__ int sk_del_node_init(struct sock *sk) { int rc = __sk_del_node_init(sk); if (rc) { /* paranoid for a while -acme */ WARN_ON(atomic_read(&sk->sk_refcnt) == 1); <-- here - James -- James Morris - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/