]> git.hungrycats.org Git - linux/commitdiff
[IPSEC]: Fix minor mispatch of xfrm splitup patch.
authorDavid S. Miller <davem@nuts.ninka.net>
Sat, 22 Mar 2003 18:54:51 +0000 (10:54 -0800)
committerDavid S. Miller <davem@nuts.ninka.net>
Sat, 22 Mar 2003 18:54:51 +0000 (10:54 -0800)
net/ipv4/xfrm_state.c

index 2a67acf31358afc0f8b377f49cee04629d9b5825..fd3eabd6a598a63db3b74e2f9d0ecac6da6a217a 100644 (file)
@@ -294,9 +294,6 @@ xfrm_state_find(xfrm_address_t *daddr, xfrm_address_t *saddr,
                 * to current session. */
                xfrm_init_tempsel(x, fl, tmpl, daddr, saddr, family);
 
-               memcpy(&x->sel.daddr, fl->fl6_dst, sizeof(struct in6_addr));
-               memcpy(&x->sel.saddr, fl->fl6_src, sizeof(struct in6_addr));
-
                if (km_query(x, tmpl, pol) == 0) {
                        x->km.state = XFRM_STATE_ACQ;
                        list_add_tail(&x->bydst, xfrm_state_bydst+h);