From: Florent Fourcot Date: Thu, 7 Nov 2013 16:53:12 +0000 (+0100) Subject: ipv6: enable IPV6_FLOWLABEL_MGR for getsockopt X-Git-Tag: v3.13-rc1~105^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3fdfa5ff50aee5b524fb22b6e0e511b73752a257;p=pandora-kernel.git 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 Acked-by: Hannes Frederic Sowa Signed-off-by: David S. Miller --- Reading git-diff-tree failed