Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f04c8276 authored by Krishna Kumar's avatar Krishna Kumar Committed by David S. Miller
Browse files

net: IPv6 changes



IPv6: Reset sk_tx_queue_mapping when dst_cache is reset. Use existing
macro to do the work.

Signed-off-by: default avatarKrishna Kumar <krkumar2@in.ibm.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent e022f0b4
Loading
Loading
Loading
Loading
+1 −2
Original line number Original line Diff line number Diff line
@@ -168,8 +168,7 @@ struct dst_entry *__inet6_csk_dst_check(struct sock *sk, u32 cookie)
	if (dst) {
	if (dst) {
		struct rt6_info *rt = (struct rt6_info *)dst;
		struct rt6_info *rt = (struct rt6_info *)dst;
		if (rt->rt6i_flow_cache_genid != atomic_read(&flow_cache_genid)) {
		if (rt->rt6i_flow_cache_genid != atomic_read(&flow_cache_genid)) {
			sk->sk_dst_cache = NULL;
			__sk_dst_reset(sk);
			dst_release(dst);
			dst = NULL;
			dst = NULL;
		}
		}
	}
	}