[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20070125.155338.97294103.davem@davemloft.net>
Date: Thu, 25 Jan 2007 15:53:38 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: kuznet@....inr.ac.ru
Cc: raivis@...lv, netdev@...r.kernel.org, waltje@...lt.NL.Mugnet.ORG,
gw4pts@...pts.ampr.org, dim@...nvz.org
Subject: Re: [BUG] problem with BPF in PF_PACKET sockets, introduced in
linux-2.6.19
From: Alexey Kuznetsov <kuznet@....inr.ac.ru>
Date: Thu, 25 Jan 2007 16:22:20 +0300
> Actually, it can. Return value was used only as sign of error,
> so that the mistake was to return original unsigned result casted to int.
>
> Alternative fix is enclosed. To be honest, it is not better than
> yours: duplication of couple lines of code against passing return
> value by pointer.
Yes, this version of a fix would work as well.
-
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