Re: [ovs-dev] [PATCH] netlink-socket: Don't bother logging SO_RCVBUFFORCE failure as non-root.

2012-08-19 Thread Ben Pfaff
On Fri, Aug 17, 2012 at 03:40:13PM -0700, Ben Pfaff wrote: > Some Open vSwitch utilities can do useful work when they are not run as > root. Without this commit, these utilities will log a warning on failure > to use the SO_RCVBUFFORCE socket option if they open any Netlink sockets. > This will al

Re: [ovs-dev] [PATCH v2 01/16] hashtable: introduce a small and naive hashtable

2012-08-19 Thread Sasha Levin
On 08/19/2012 04:16 PM, Mathieu Desnoyers wrote: > * Mathieu Desnoyers (mathieu.desnoy...@efficios.com) wrote: >> * Sasha Levin (levinsasha...@gmail.com) wrote: > [...] >>> +/** >>> + * hash_for_each_possible - iterate over all possible objects for a given >>> key >>> + * @name: hashtable to itera

Re: [ovs-dev] [PATCH v2 01/16] hashtable: introduce a small and naive hashtable

2012-08-19 Thread Sasha Levin
On 08/19/2012 03:16 PM, Mathieu Desnoyers wrote: > * Sasha Levin (levinsasha...@gmail.com) wrote: >> This hashtable implementation is using hlist buckets to provide a simple >> hashtable to prevent it from getting reimplemented all over the kernel. >> >> Signed-off-by: Sasha Levin >> --- >> inclu

Re: [ovs-dev] [PATCH v2 01/16] hashtable: introduce a small and naive hashtable

2012-08-19 Thread Mathieu Desnoyers
* Mathieu Desnoyers (mathieu.desnoy...@efficios.com) wrote: > * Sasha Levin (levinsasha...@gmail.com) wrote: [...] > > +/** > > + * hash_for_each_possible - iterate over all possible objects for a given > > key > > + * @name: hashtable to iterate > > + * @obj: the type * to use as a loop cursor fo

Re: [ovs-dev] [PATCH v2 01/16] hashtable: introduce a small and naive hashtable

2012-08-19 Thread Mathieu Desnoyers
* Sasha Levin (levinsasha...@gmail.com) wrote: > This hashtable implementation is using hlist buckets to provide a simple > hashtable to prevent it from getting reimplemented all over the kernel. > > Signed-off-by: Sasha Levin > --- > include/linux/hashtable.h | 284 > +