OpenVZ Forum


Home » Mailing lists » Devel » [PATCH net-2.6.25 1/4][NETNS][RAW]: Make ipv[46] raw sockets lookup namespaces aware.
Re: [PATCH net-2.6.25 1/4][NETNS][RAW]: Make ipv[46] raw sockets lookup namespaces aware. [message #25999 is a reply to message #25995] Mon, 14 January 2008 13:36 Go to previous message
davem is currently offline  davem
Messages: 463
Registered: February 2006
Senior Member
From: Pavel Emelyanov <xemul@openvz.org>
Date: Mon, 14 Jan 2008 16:03:55 +0300

> This requires just to pass the appropriate struct net pointer 
> into __raw_v[46]_lookup and skip sockets that do not belong
> to a needed namespace.
> 
> The proper net is get from skb->dev in all the cases.
> 
> Signed-off-by: Pavel Emelyanov <xemul@openvz.org>

Applied.
 
Read Message
Read Message
Previous Topic: stat on /proc/<PID>/exe when <PID> is zombie inside a VE
Next Topic: [PATCH net-2.6.25 2/4][NETNS][RAW]: Make /proc/net/raw(6) show per-namespace socket list.
Goto Forum:
  


Current Time: Fri Jul 25 14:41:06 GMT 2025

Total time taken to generate the page: 0.33218 seconds