NetBSD Problem Report #58588
From christos@blazar.astron.com Mon Aug 12 18:49:10 2024
Return-Path: <christos@blazar.astron.com>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature RSA-PSS (2048 bits)
client-signature RSA-PSS (2048 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 192401A9242
for <gnats-bugs@gnats.NetBSD.org>; Mon, 12 Aug 2024 18:49:10 +0000 (UTC)
Message-Id: <20240812184906.8C9A6225BA58@blazar.astron.com>
Date: Mon, 12 Aug 2024 18:49:06 +0000 (UTC)
From: christos@blazar.astron.com
Reply-To: christos@blazar.astron.com
To: gnats-bugs@NetBSD.org
Subject: RTL8168H/8111H (0x5400) promiscuous exit issue
X-Send-Pr-Version: 3.95
>Number: 58588
>Category: kern
>Synopsis: RTL8168H/8111H (0x5400) promiscuous exit issue
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Aug 12 18:50:01 +0000 2024
>Last-Modified: Mon Aug 12 19:00:01 +0000 2024
>Originator: christos@blazar.astron.com
>Release: NetBSD 10.99.11
>Organization:
Realtors should not make ethernet cards.
>Environment:
System: NetBSD blazar.astron.com 10.99.11 NetBSD 10.99.11 (GENERIC) #0: Mon Aug 12 14:33:19 EDT 2024 christos@blazar.astron.com:/usr/src/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:
when ^C'ing tcpdump machine freezes randomly (about 1/2 the time)
>How-To-Repeat:
see above.
>Fix:
about to commit one.
>Audit-Trail:
From: "Christos Zoulas" <christos@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/58588 CVS commit: src/sys/dev/ic
Date: Mon, 12 Aug 2024 14:55:01 -0400
Module Name: src
Committed By: christos
Date: Mon Aug 12 18:55:01 UTC 2024
Modified Files:
src/sys/dev/ic: rtl8169.c rtl81x9reg.h rtl81x9var.h
Log Message:
PR/58588: Christos Zoulas: Avoid crashes when exiting promiscuous mode (^C
tcpdump) by disabling RX in re_stop. Also add some earlyoff stuff while here.
From FreeBSD.
To generate a diff of this commit:
cvs rdiff -u -r1.177 -r1.178 src/sys/dev/ic/rtl8169.c
cvs rdiff -u -r1.54 -r1.55 src/sys/dev/ic/rtl81x9reg.h
cvs rdiff -u -r1.58 -r1.59 src/sys/dev/ic/rtl81x9var.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
net
(Contact us)
$NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2024
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.