• Jaco Kroon's avatar
    [PKTGEN]: Deinitialise static variables. · f34fbb97
    Jaco Kroon authored
    static variables should not be explicitly initialised to 0.  This causes
    them to be placed in .data instead of .bss.  This patch de-initialises 3
    static variables in net/core/pktgen.c.
    
    There are approximately 800 more such variables in the source tree
    (2.6.15rc5).  If there is more interrest I'd be willing to track down the
    rest of these as well and de-initialise them as well.
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    f34fbb97
pktgen.c 82 KB