[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100105.134038.21223965.davem@davemloft.net>
Date: Tue, 05 Jan 2010 13:40:38 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: mst@...hat.com
Cc: eric.dumazet@...il.com, nhorman@...driver.com,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [PATCH] net: packet: option to only pass skb protocol
From: "Michael S. Tsirkin" <mst@...hat.com>
Date: Tue, 5 Jan 2010 22:50:40 +0200
> binding socket to device might be done by a separate process
> from the one doing sendmsg, and IMO the device socket is bound
> to might change at any time.
>
> So the sending process would need to get socket name before
> each sendmsg.
>
> Makes sense?
Not really, when it's at the expense of everyone else.
If you can pass the FD around, you can pass around auxiliary
information as well.
Make sense? :-)
--
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