Skip to content

Commit

Permalink
[IPV6] Don't store dst_entry for RAW socket
Browse files Browse the repository at this point in the history
Signed-off-by: Nicolas DICHTEL <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
NicolasDichtel authored and davem330 committed Feb 13, 2006
1 parent 72fb630 commit 6d3e85e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions net/ipv6/raw.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 6d3e85e

Please sign in to comment.