From: Florent Fourcot Date: Sun, 8 Dec 2013 14:46:57 +0000 (+0100) Subject: ipv6: add flowinfo for tcp6 pkt_options for all cases X-Git-Tag: v3.14-rc1~94^2~552 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1397ed35f22d7c30d0b89ba74b6b7829220dfcfd;p=pandora-kernel.git ipv6: add flowinfo for tcp6 pkt_options for all cases The current implementation of IPV6_FLOWINFO only gives a result if pktoptions is available (thanks to the ip6_datagram_recv_ctl function). It gives inconsistent results to user space, sometimes there is a result for getsockopt(IPV6_FLOWINFO), sometimes not. This patch add rcv_flowinfo to store it, and return it to the userspace in the same way than other pkt_options. Signed-off-by: Florent Fourcot Reviewed-by: Hannes Frederic Sowa Signed-off-by: David S. Miller --- Reading git-diff-tree failed