diff options
Diffstat (limited to 'net/ipv6/raw.c')
-rw-r--r-- | net/ipv6/raw.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/net/ipv6/raw.c b/net/ipv6/raw.c index 66f1d12ea578..ae20a0ec9bd8 100644 --- a/net/ipv6/raw.c +++ b/net/ipv6/raw.c | |||
@@ -35,7 +35,6 @@ | |||
35 | #include <linux/skbuff.h> | 35 | #include <linux/skbuff.h> |
36 | #include <asm/uaccess.h> | 36 | #include <asm/uaccess.h> |
37 | #include <asm/ioctls.h> | 37 | #include <asm/ioctls.h> |
38 | #include <asm/bug.h> | ||
39 | 38 | ||
40 | #include <net/ip.h> | 39 | #include <net/ip.h> |
41 | #include <net/sock.h> | 40 | #include <net/sock.h> |
@@ -804,10 +803,7 @@ back_from_confirm: | |||
804 | err = rawv6_push_pending_frames(sk, &fl, rp); | 803 | err = rawv6_push_pending_frames(sk, &fl, rp); |
805 | } | 804 | } |
806 | done: | 805 | done: |
807 | ip6_dst_store(sk, dst, | 806 | dst_release(dst); |
808 | ipv6_addr_equal(&fl.fl6_dst, &np->daddr) ? | ||
809 | &np->daddr : NULL); | ||
810 | |||
811 | release_sock(sk); | 807 | release_sock(sk); |
812 | out: | 808 | out: |
813 | fl6_sock_release(flowlabel); | 809 | fl6_sock_release(flowlabel); |