aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/ip6_output.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv6/ip6_output.c')
-rw-r--r--net/ipv6/ip6_output.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv6/ip6_output.c b/net/ipv6/ip6_output.c
index 59eb4ed99ce8..9a87bfb2ec16 100644
--- a/net/ipv6/ip6_output.c
+++ b/net/ipv6/ip6_output.c
@@ -163,7 +163,7 @@ int ip6_output(struct net *net, struct sock *sk, struct sk_buff *skb)
163 * which are using proper atomic operations or spinlocks. 163 * which are using proper atomic operations or spinlocks.
164 */ 164 */
165int ip6_xmit(const struct sock *sk, struct sk_buff *skb, struct flowi6 *fl6, 165int ip6_xmit(const struct sock *sk, struct sk_buff *skb, struct flowi6 *fl6,
166 struct ipv6_txoptions *opt, int tclass) 166 __u32 mark, struct ipv6_txoptions *opt, int tclass)
167{ 167{
168 struct net *net = sock_net(sk); 168 struct net *net = sock_net(sk);
169 const struct ipv6_pinfo *np = inet6_sk(sk); 169 const struct ipv6_pinfo *np = inet6_sk(sk);
@@ -230,7 +230,7 @@ int ip6_xmit(const struct sock *sk, struct sk_buff *skb, struct flowi6 *fl6,
230 230
231 skb->protocol = htons(ETH_P_IPV6); 231 skb->protocol = htons(ETH_P_IPV6);
232 skb->priority = sk->sk_priority; 232 skb->priority = sk->sk_priority;
233 skb->mark = sk->sk_mark; 233 skb->mark = mark;
234 234
235 mtu = dst_mtu(dst); 235 mtu = dst_mtu(dst);
236 if ((skb->len <= mtu) || skb->ignore_df || skb_is_gso(skb)) { 236 if ((skb->len <= mtu) || skb->ignore_df || skb_is_gso(skb)) {