diff options
Diffstat (limited to 'net/ipv6')
-rw-r--r-- | net/ipv6/raw.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/net/ipv6/raw.c b/net/ipv6/raw.c index 738376cf0c51..ae20a0ec9bd8 100644 --- a/net/ipv6/raw.c +++ b/net/ipv6/raw.c | |||
@@ -803,10 +803,7 @@ back_from_confirm: | |||
803 | err = rawv6_push_pending_frames(sk, &fl, rp); | 803 | err = rawv6_push_pending_frames(sk, &fl, rp); |
804 | } | 804 | } |
805 | done: | 805 | done: |
806 | ip6_dst_store(sk, dst, | 806 | dst_release(dst); |
807 | ipv6_addr_equal(&fl.fl6_dst, &np->daddr) ? | ||
808 | &np->daddr : NULL); | ||
809 | |||
810 | release_sock(sk); | 807 | release_sock(sk); |
811 | out: | 808 | out: |
812 | fl6_sock_release(flowlabel); | 809 | fl6_sock_release(flowlabel); |