Release 4.7 include/net/netns/hash.h
#ifndef __NET_NS_HASH_H__
#define __NET_NS_HASH_H__
#include <asm/cache.h>
struct net;
static inline u32 net_hash_mix(const struct net *net)
{
#ifdef CONFIG_NET_NS
/*
* shift this right to eliminate bits, that are
* always zeroed
*/
return (u32)(((unsigned long)net) >> L1_CACHE_SHIFT);
#else
return 0;
#endif
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
pavel emelianov | pavel emelianov | 37 | 92.50% | 1 | 50.00% |
eric dumazet | eric dumazet | 3 | 7.50% | 1 | 50.00% |
| Total | 40 | 100.00% | 2 | 100.00% |
#endif
Overall Contributors
| Person | Tokens | Prop | Commits | CommitProp |
pavel emelianov | pavel emelianov | 51 | 94.44% | 1 | 50.00% |
eric dumazet | eric dumazet | 3 | 5.56% | 1 | 50.00% |
| Total | 54 | 100.00% | 2 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.