I missed two pieces of the commit to this file. Robert has already

added one, this adds the other.
This commit is contained in:
dwmalone 2004-07-18 09:26:34 +00:00
parent 011bdc845d
commit 8595576305

View File

@ -455,7 +455,7 @@ linux_sendto_hdrincl(struct thread *td, struct linux_sendto_args *linux_args)
* then use an iovec to glue it to the rest of the user packet
* when calling sendit().
*/
packet = (struct ip *)stackgap_alloc(sg, linux_ip_copysize);
packet = (struct ip *)stackgap_alloc(&sg, linux_ip_copysize);
/* Make a copy of the beginning of the packet to be sent */
if ((error = copyin(linux_args->msg, packet, linux_ip_copysize)))