netdev
[Top] [All Lists]

Re: IPSec: Policy dst bundles exhausting storage

To: toml@xxxxxxxxxx
Subject: Re: IPSec: Policy dst bundles exhausting storage
From: "David S. Miller" <davem@xxxxxxxxxx>
Date: Tue, 10 Jun 2003 16:32:50 -0700 (PDT)
Cc: netdev@xxxxxxxxxxx, kuznet@xxxxxxxxxxxxx
In-reply-to: <OF5BE4EDD9.7B1D7854-ON86256D41.007F1E5C-86256D41.008145BF@pok.ibm.com>
References: <OF5BE4EDD9.7B1D7854-ON86256D41.007F1E5C-86256D41.008145BF@pok.ibm.com>
Sender: netdev-bounce@xxxxxxxxxxx
   From: "Tom Lendacky" <toml@xxxxxxxxxx>
   Date: Tue, 10 Jun 2003 18:32:00 -0500
   
   One other thing I did notice in both the v4 and v6 bundle create functions
   is the line x->u.rt.fl = *fl.  Shouldn't this be a memcpy?

Gcc emits a memcpy() check the assembly.  Structure assignment
is a perfectly legal to do this.

<Prev in Thread] Current Thread [Next in Thread>