[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140110.175811.1139439658496998152.davem@davemloft.net>
Date: Fri, 10 Jan 2014 17:58:11 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: dborkman@...hat.com
Cc: netdev@...r.kernel.org, nvbolhuis@...valley.nl
Subject: Re: [PATCH v3 net-next] packet: doc: describe PACKET_MMAP with one
packet socket for rx and tx
From: Daniel Borkmann <dborkman@...hat.com>
Date: Fri, 10 Jan 2014 10:22:37 +0100
> From: Norbert van Bolhuis <nvbolhuis@...valley.nl>
>
> Document how to use one AF_PACKET mmap socket for RX and TX.
>
> Signed-off-by: Norbert van Bolhuis <nvbolhuis@...valley.nl>
> Signed-off-by: Daniel Borkmann <dborkman@...hat.com>
Don't you need to evaluate need_rehook with at least the socket
lock held?
Otherwise how would two parallel bind() calls pan out?
--
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