login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-netdev
»
2009
»
September
»
8
Re: BUG UNIX: Poison overwritten with 2.6.31-rc6-00223-g6c30c53
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Jike Song
Subject:
Re: BUG UNIX: Poison overwritten with 2.6.31-rc6-00223-g6c30c53
Date: Tuesday, September 8, 2009 - 1:09 am
On Tue, Sep 8, 2009 at 3:38 PM, Eric Dumazet<eric.dumazet@gmail.com> wrote:
quoted text
> > We decrement a refcnt while object already freed. > > (SLUB DEBUG poisons the zone with 0x6B pattern) > > You might add this patch to trigger a WARN_ON when refcnt >= 0x60000000U > in sk_free() : We'll see the path trying to delete an already freed sock > > diff --git a/net/core/sock.c b/net/core/sock.c > index 7633422..1cb85ff 100644 > --- a/net/core/sock.c > +++ b/net/core/sock.c > @@ -1058,6 +1058,7 @@ static void __sk_free(struct sock *sk) > > void sk_free(struct sock *sk) > { > + WARN_ON(atomic_read(&sk->sk_wmem_alloc) >= 0x60000000U); > /* > * We substract one from sk_wmem_alloc and can know if > * some packets are still in some tx queue. > >
The output of dmesg with this patch appllied is attached. -- Thanks, Jike
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
Re: BUG UNIX: Poison overwritten with 2.6.31-rc6-00223-g6c ...
, Jike Song
, (Mon Sep 7, 9:51 pm)
Re: BUG UNIX: Poison overwritten with 2.6.31-rc6-00223-g6c ...
, Eric Dumazet
, (Tue Sep 8, 12:38 am)
Re: BUG UNIX: Poison overwritten with 2.6.31-rc6-00223-g6c ...
, Jike Song
, (Tue Sep 8, 1:09 am)
Re: BUG UNIX: Poison overwritten with 2.6.31-rc6-00223-g6c ...
, Eric Dumazet
, (Tue Sep 8, 5:12 am)
[PATCH] net: Fix sock_wfree() race
, Eric Dumazet
, (Tue Sep 8, 3:49 pm)
Re: [PATCH] net: Fix sock_wfree() race
, Jike Song
, (Wed Sep 9, 12:14 am)
Re: [PATCH] net: Fix sock_wfree() race
, Eric Dumazet
, (Wed Sep 9, 2:18 am)
Re: [PATCH] net: Fix sock_wfree() race
, David Miller
, (Fri Sep 11, 11:43 am)
Re: [PATCH] net: Fix sock_wfree() race
, David Miller
, (Fri Sep 11, 12:52 pm)
Re: [PATCH] net: Fix sock_wfree() race
, Eric Dumazet
, (Wed Sep 23, 6:44 am)
Re: [PATCH] net: Fix sock_wfree() race
, Jarek Poplawski
, (Thu Sep 24, 1:07 pm)
Re: [PATCH] net: Fix sock_wfree() race
, Eric Dumazet
, (Thu Sep 24, 1:49 pm)
Re: [PATCH] net: Fix sock_wfree() race
, David Miller
, (Wed Sep 30, 4:23 pm)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
Og dreams of kernels
Jens Axboe
[PATCH 31/33] Fusion: sg chaining support
Arnd Bergmann
Re: finding your own dead "CONFIG_" variables
Mark Brown
[PATCH 2/2] Subject: natsemi: Allow users to disable workaround for DspCfg reset
Tony Breeds
[LGUEST] Look in object dir for .config
git
:
Brian Downing
Re: Git in a Nutshell guide
John Benes
Re: master has some toys
Matthias Lederhofer
[PATCH 4/7] introduce GIT_WORK_TREE to specify the work tree
Alexander Sulfrian
[RFC/PATCH] RE: git calls SSH_ASKPASS even if DISPLAY is not set
Junio C Hamano
Re: Rss produced by git is not valid xml?
git-commits-head
:
Linux Kernel Mailing List
iSeries: fix section mismatch in iseries_veth
Linux Kernel Mailing List
ixbge: remove TX lock and redo TX accounting.
Linux Kernel Mailing List
ixgbe: fix several counter register errata
Linux Kernel Mailing List
b43: fix build with CONFIG_SSB_PCIHOST=n
Linux Kernel Mailing List
9p: block-based virtio client
linux-netdev
:
Michael Breuer
Re: [PATCH] af_packet: Don't use skb after dev_queue_xmit()
Michael Breuer
Re: [PATCH] af_packet: Don't use skb after dev_queue_xmit()
David Daney
[PATCH 5/7] Staging: Octeon Ethernet: Convert to NAPI.
Wolfgang Grandegger
[PATCH net-next v4 1/3] can: mscan: fix improper return if dlc < 8 in start_xmi...
Amit Kumar Salecha
[PATCHv3 NEXT 2/2] NET: Add Qlogic ethernet driver for CNA devices
openbsd-misc
:
Theo de Raadt
Re: Old IPSEC bug
Tomáš Bodžár
Problem with vpnc connection - check group password !
Insan Praja SW
Mandoc Compiling Error
Carl Roberso
Re: Cannot change MTU of carp interface?
Richard Daemon
Re: booting openbsd on eee without cd-rom
Colocation donated by:
Syndicate