lkml.org 
[lkml]   [1996]   [Dec]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Socket header
Date

> root@analogic.com (Richard B. Johnson)
> In the following include file, cmsg_data[0] is not properly declared.
> We need to declare the first element in an array of unknown size. ANSI
> allows cmsg_data[1], but not cmsg_data[0]. I have recompiled the kernel
> with this change and everything is okay. I also recompiled several
> network programs that use sockets and they compile and work.
>
> [erroneous patch deleted]

Hum. You'll also need to fix all the length calculations that use
sizeof(struct cmsghdr). See net/core/scm.c

\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.076 / U:0.216 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site