[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20110624.125406.600608999605842473.davem@davemloft.net>
Date: Fri, 24 Jun 2011 12:54:06 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: shemminger@...tta.com
Cc: herbert@...dor.hengli.com.au, netdev@...r.kernel.org
Subject: Re: unintended ipv4 broadcast policy change
From: Stephen Hemminger <shemminger@...tta.com>
Date: Fri, 24 Jun 2011 10:01:21 -0700
> On Thu, 23 Jun 2011 14:08:21 -0700 (PDT)
> David Miller <davem@...emloft.net> wrote:
>
>> From: Stephen Hemminger <shemminger@...tta.com>
>> Date: Thu, 23 Jun 2011 17:01:37 -0400
>>
>> > Standard Debian stable (Squeeze) installation.
>> > $ dpkg -S /sbin/dhclient
>> > isc-dhcp-client: /sbin/dhclient
>>
>> I bet what happens is that since it isn't reading from
>> the AF_PACKET socket the receive queue just fills up
>> and it's just in the kernel dropping packets in
>> packet_spkt_rcv().
>
> I don't think that is correct, just instrumented /proc/net/packet
> to add receive queue length is stuck at 0. The packets are getting
> dropped somewhere else.
>
> sk RefCnt Type Proto Iface R Rmem User Inode Count
> ffff880327038000 3 10 0003 3 1 0 0 5881 0
They must be because this is capturing ETH_P_ALL with type SOCK_PACKET
which means receive all packets unconditionally.
--
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