udp6: allow SO_MARK ctrl msg to affect routing
Commit c6af0c22 ("ip: support SO_MARK cmsg") added propagation of SO_MARK from cmsg to skb->mark. For IPv4 and raw sockets the mark also affects route lookup, but in case of IPv6 the flow info is initialized before cmsg is parsed. Fixes: c6af0c22 ("ip: support SO_MARK cmsg") Reported-and-tested-by:Xintong Hu <huxintong@fb.com> Signed-off-by:
Jakub Kicinski <kuba@kernel.org> Reviewed-by:
David Ahern <dsahern@kernel.org> Reviewed-by:
Willem de Bruijn <willemb@google.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Loading
Please register or sign in to comment