aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/enc28j60.c
diff options
context:
space:
mode:
authorYang Hongyang <yanghy@cn.fujitsu.com>2008-12-16 02:08:29 -0800
committerDavid S. Miller <davem@davemloft.net>2008-12-16 02:08:29 -0800
commit9f690db7ff4cb32493c0b0b13334cc4f5fd49a6b (patch)
treec4f3dfb17ba368dffc5da8a8ffe575e0f99065e7 /drivers/net/enc28j60.c
parentipv6: fix the return interface index when get it while no message is received (diff)
downloadlinux-dev-9f690db7ff4cb32493c0b0b13334cc4f5fd49a6b.tar.xz
linux-dev-9f690db7ff4cb32493c0b0b13334cc4f5fd49a6b.zip
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>
Diffstat (limited to 'drivers/net/enc28j60.c')
0 files changed, 0 insertions, 0 deletions