lkml.org 
[lkml]   [2006]   [Feb]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[-mm patch] net/ipv4/fib_rules.c: make struct fib_rules static again
    On Fri, Feb 03, 2006 at 12:07:04AM -0800, Andrew Morton wrote:
    >...
    > Changes since 2.6.15-mm4:
    >...
    > git-net.patch
    >...
    > Git trees
    >...

    struct fib_rules became global for no good reason.


    Signed-off-by: Adrian Bunk <bunk@stusta.de>

    --- linux-2.6.16-rc1-mm5-full/net/ipv4/fib_rules.c.old 2006-02-03 16:12:48.000000000 +0100
    +++ linux-2.6.16-rc1-mm5-full/net/ipv4/fib_rules.c 2006-02-03 16:13:00.000000000 +0100
    @@ -100,7 +100,7 @@
    .r_action = RTN_UNICAST,
    };

    -struct hlist_head fib_rules;
    +static struct hlist_head fib_rules;

    /* writer func called from netlink -- rtnl_sem hold*/

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2006-02-03 22:05    [W:0.149 / U:60.320 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site