Florent Fourcot 3fdfa5ff50 ipv6: enable IPV6_FLOWLABEL_MGR for getsockopt
It is already possible to set/put/renew a label
with IPV6_FLOWLABEL_MGR and setsockopt. This patch
add the possibility to get information about this
label (current value, time before expiration, etc).

It helps application to take decision for a renew
or a release of the label.

v2:
 * Add spin_lock to prevent race condition
 * return -ENOENT if no result found
 * check if flr_action is GET

v3:
 * move the spin_lock to protect only the
   relevant code

Signed-off-by: Florent Fourcot <florent.fourcot@enst-bretagne.fr>
Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-11-08 13:42:57 -05:00
..
2012-07-19 10:43:03 -07:00
2013-11-07 19:28:58 -05:00
2013-10-19 19:36:18 -04:00
2013-01-27 22:46:33 -05:00
2013-10-28 20:07:50 -04:00
2013-10-08 23:19:24 -04:00
2013-10-09 00:01:25 -04:00
2012-08-06 13:40:47 -07:00
2013-06-04 16:43:42 -07:00
2012-05-16 15:17:08 -04:00