Re: [PATCH net-next 3/9] sctp: Make the association hashtable handle multiple network namespaces

2012-08-14 Thread Vlad Yasevich
On 08/06/2012 02:41 PM, Eric W. Biederman wrote: - Use struct net in the hash calculation - Use sock_net(association.base.sk) in the association lookups. - On receive calculate the network namespace from skb->dev. - Pass struct net from receive down to the functions that actually do the

Re: [PATCH net-next 3/9] sctp: Make the association hashtable handle multiple network namespaces

2012-08-14 Thread Vlad Yasevich
On 08/06/2012 02:41 PM, Eric W. Biederman wrote: - Use struct net in the hash calculation - Use sock_net(association.base.sk) in the association lookups. - On receive calculate the network namespace from skb-dev. - Pass struct net from receive down to the functions that actually do the

[PATCH net-next 3/9] sctp: Make the association hashtable handle multiple network namespaces

2012-08-06 Thread Eric W. Biederman
- Use struct net in the hash calculation - Use sock_net(association.base.sk) in the association lookups. - On receive calculate the network namespace from skb->dev. - Pass struct net from receive down to the functions that actually do the association lookup. Signed-off-by: "Eric W. Biederman"

[PATCH net-next 3/9] sctp: Make the association hashtable handle multiple network namespaces

2012-08-06 Thread Eric W. Biederman
- Use struct net in the hash calculation - Use sock_net(association.base.sk) in the association lookups. - On receive calculate the network namespace from skb-dev. - Pass struct net from receive down to the functions that actually do the association lookup. Signed-off-by: Eric W. Biederman