Yang Hongyang 9f690db7ff ipv6: fix the outgoing interface selection order in udpv6_sendmsg()
1.When no interface is specified in an IPV6_PKTINFO ancillary data
  item, the interface specified in an IPV6_PKTINFO sticky optionis 
  is used.

RFC3542:
6.7.  Summary of Outgoing Interface Selection

   This document and [RFC-3493] specify various methods that affect the
   selection of the packet's outgoing interface.  This subsection
   summarizes the ordering among those in order to ensure deterministic
   behavior.

   For a given outgoing packet on a given socket, the outgoing interface
   is determined in the following order:

   1. if an interface is specified in an IPV6_PKTINFO ancillary data
      item, the interface is used.

   2. otherwise, if an interface is specified in an IPV6_PKTINFO sticky
      option, the interface is used.

Signed-off-by: Yang Hongyang <yanghy@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-12-16 02:08:29 -08:00
..
2008-11-19 22:42:41 -08:00
2008-12-08 01:14:16 -08:00
2008-12-14 23:18:00 -08:00
2008-12-14 23:16:58 -08:00
2008-12-15 23:44:31 -08:00
2008-12-10 15:18:31 -08:00
2008-12-10 15:18:31 -08:00
2008-12-16 01:15:11 -08:00
2008-11-03 18:21:05 -08:00
2008-12-14 23:18:30 -08:00
2008-09-30 03:03:35 -07:00
2008-11-25 17:59:00 -08:00
2008-12-12 14:45:27 -05:00
2008-11-03 18:21:05 -08:00
2008-12-10 15:18:31 -08:00
2008-11-03 18:21:05 -08:00
2008-12-14 23:16:22 -08:00
2008-11-19 18:49:57 -08:00
2008-11-25 01:02:08 -08:00