Changeset 7345c71 in rtems-libbsd for freebsd/kern/uipc_domain.c


Ignore:
Timestamp:
Jun 1, 2012, 6:57:50 PM (8 years ago)
Author:
Jennifer Averett <jennifer.averett@…>
Branches:
4.11, 18cc38e73ea355d7803db8ee1d44052a3857db6f, freebsd-9.3, 7606ec29778f1fabf70f3fc10edca02155d02c8c
Children:
58ea5ee
Parents:
1e88db13
Message:

Added rtems specific size for max_linkhdr
Note: This was needed for tcp_init to pass. This modification
should be discussed to see if a cleaner resolution to the problem
exists.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • freebsd/kern/uipc_domain.c

    r1e88db13 r7345c71  
    263263        EVENTHANDLER_REGISTER(maxsockets_change, socket_zone_change, NULL,
    264264                EVENTHANDLER_PRI_FIRST);
    265 
     265#ifndef __rtems__
    266266        if (max_linkhdr < 16)           /* XXX */
    267267                max_linkhdr = 16;
     268#else /*__rtems__ */
     269        if (max_linkhdr < 10)           /* XXX -- Not sure this is correct*/
     270                max_linkhdr = 10;
     271#endif /*__rtems__ */
    268272
    269273        callout_init(&pffast_callout, CALLOUT_MPSAFE);
Note: See TracChangeset for help on using the changeset viewer.