David S. Miller 14deae4156 ipv6: Fix sporadic sendmsg -EINVAL when sending to multicast groups.
Thanks to excellent diagnosis by Eduard Guzovsky.

The core problem is that on a network with lots of active
multicast traffic, the neighbour cache can fill up.  If
we try to allocate a new route and thus neighbour cache
entry, the bog-standard GC attempt the neighbour layer does
in ineffective because route entries hold a reference
to the existing neighbour entries and GC can only liberate
entries with no references.

IPV4 already has a way to handle this, by doing a route cache
GC in such situations (when neigh attach returns -ENOBUFS).

So simply mimick this on the ipv6 side.

Tested-by: Eduard Guzovsky <eguzovsky@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-01-04 16:04:39 -08:00
..
2008-10-22 18:54:47 -05:00
2008-09-12 16:30:20 -07:00
2008-12-19 15:22:54 -05:00
2008-11-25 17:35:18 -08:00
2008-11-25 17:35:18 -08:00
2008-11-25 18:00:48 -08:00
2008-11-12 00:54:54 -08:00
2008-11-16 23:01:49 -08:00
2008-12-15 23:41:09 -08:00
2008-11-14 11:29:12 +11:00
2008-12-15 23:43:36 -08:00
2008-11-16 19:39:21 -08:00
2008-11-25 18:00:48 -08:00