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

Commit 6d3e85ec authored by Nicolas DICHTEL's avatar Nicolas DICHTEL Committed by David S. Miller
Browse files

[IPV6] Don't store dst_entry for RAW socket

parent 72fb630d
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -803,10 +803,7 @@ static int rawv6_sendmsg(struct kiocb *iocb, struct sock *sk,
			err = rawv6_push_pending_frames(sk, &fl, rp);
	}
done:
	ip6_dst_store(sk, dst,
		      ipv6_addr_equal(&fl.fl6_dst, &np->daddr) ?
		      &np->daddr : NULL);

	dst_release(dst);
	release_sock(sk);
out:	
	fl6_sock_release(flowlabel);