# This is a BitKeeper generated patch for the following project: # Project Name: Linux kernel tree # This patch format is intended for GNU patch command version 2.5 or higher. # This patch includes the following deltas: # ChangeSet 1.1354 -> 1.1355 # net/sctp/protocol.c 1.58 -> 1.59 # # The following is the BitKeeper ChangeSet Log # -------------------------------------------- # 03/12/03 ja@xxxxxx 1.1355 # [SCTP]: provide valid tos and oif values for ip_route_output_key # -------------------------------------------- # diff -Nru a/net/sctp/protocol.c b/net/sctp/protocol.c --- a/net/sctp/protocol.c Wed Dec 3 01:08:31 2003 +++ b/net/sctp/protocol.c Wed Dec 3 01:08:31 2003 @@ -444,6 +444,8 @@ memset(&fl, 0x0, sizeof(struct flowi)); fl.fl4_dst = daddr->v4.sin_addr.s_addr; + fl.fl4_tos = RT_CONN_FLAGS(asoc->base.sk); + fl.oif = asoc->base.sk->sk_bound_dev_if; fl.proto = IPPROTO_SCTP; if (saddr)