Changeset 7345c71 in rtems-libbsd


Ignore:
Timestamp:
Jun 1, 2012, 6:57:50 PM (9 years ago)
Author:
Jennifer Averett <jennifer.averett@…>
Branches:
4.11, b96abfd647154f10ea8f7fac68e25676636eded5, debc0aed8b9bef9996b8ec0ae7a70b0b41912e27, 68e79b6d187fe09b0a6f3f1d22c69b4121a3f76e, freebsd-9.3, 33bfaee89aa71d2252eb48d6b9a9ec17183faced
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.