[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20091014085941.6897d9d9@nehalam>
Date: Wed, 14 Oct 2009 08:59:41 -0700
From: Stephen Hemminger <shemminger@...tta.com>
To: William Allen Simpson <william.allen.simpson@...il.com>
Cc: netdev@...r.kernel.org
Subject: Re: query: tcpdump versus atomic?
On Wed, 14 Oct 2009 11:20:12 -0400
William Allen Simpson <william.allen.simpson@...il.com> wrote:
> William Allen Simpson wrote:
> > Anybody know what code path tcpdump changes to running atomic?
> >
> > Is there a function to test whether you're running atomic?
> >
> To partially answer my own question, after laboriously #if'ing compiling
> section by section, it affects the tcp_minisockets.c code at
> tcp_create_openreq_child().
>
> I've not found a function to test. I've found sk->sk_allocation, but
> that doesn't seem to be dynamically updated to reflect the current state.
>
> Anyway, sorry David, but there's at least two GFP_ATOMIC here (one existing,
> one new). I've managed to change the others, by careful rearrangement. At
> least, I hope so, until some future testing reveals otherwise....
>
> --
> To unsubscribe from this list: send the line "unsubscribe netdev" in
> the body of a message to majordomo@...r.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
did you look at your ethernet's drivers code to turn on promiscuous mode.
It could be leaving irq's or bottom half disabled.
--
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists