tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Compilation problem fixed in current but not in 4 stable



In article 
<9E2742C54E161041A53F36F9A8DC31BE0134A36C%EXCH-CLUSTER-04.force10networks.com@localhost>,
Gerald Lee <glee%force10networks.com@localhost> wrote:
>
>       Compiling for an EV64260, I got an error building tcp_usrreq.
>The issue relates to the static function inet6_ident_core not being
>behind an INET6 ifdef.  Diff below.
>--
>
>RCS file: /cvsroot/src/sys/netinet/tcp_usrreq.c,v
>retrieving revision 1.129.2.1
>diff -c -r1.129.2.1 tcp_usrreq.c
>*** tcp_usrreq.c        21 Jan 2008 20:17:48 -0000      1.129.2.1
>--- tcp_usrreq.c        24 Jan 2008 19:31:46 -0000
>***************
>*** 1150,1155 ****
>--- 1150,1156 ----
>                return copyout_uid(sockp, oldp, oldlenp);
>  }
>  
>+ #ifdef INET6
>  static inline int
>  inet6_ident_core(struct in6_addr *raddr, u_int rport,
>      struct in6_addr *laddr, u_int lport,
>***************
>*** 1180,1185 ****
>--- 1181,1187 ----
>        else
>                return copyout_uid(sockp, oldp, oldlenp);
>  }
>+ #endif
>  
>  /*
>   * sysctl helper routine for the net.inet.tcp.drop and
>
>

thanks, it seems to have been fixed on head.

christos






Home | Main Index | Thread Index | Old Index