lkml.org 
[lkml]   [1997]   [Dec]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: PATCH for NET=n
Date
From
...
> Speaking of CONFIG_NET, small change is needed to compile kernel
> without net support.
>
> In file net/core/sock.c, #ifdef is needed around one case statement:
>
> case SO_BINDTODEVICE:
> ...
>
> in line 290 (at least in 2.1.76).
>
> Problems arise from ip_rt_put() and ip_route_output() functions, which
> appear as undefined in the last linking stage of kernel building.

Only the ip_route_output() needs conditionalizing.
The ip_rt_put() is a set of __inline__ routines, which
are just 1-2 statements long each.

> I'm leaving to more clever heads to decide what #ifdef to apply. :)
>
> Regards!
> --
> Posted by Zlatko Calusic E-mail: <Zlatko.Calusic@CARNet.hr>

/Matti Aarnio <matti.aarnio@tele.fi>

\
 
 \ /
  Last update: 2005-03-22 13:40    [from the cache]
©2003-2011 Jasper Spaans