lkml.org 
[lkml]   [2009]   [Apr]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] netfilter: use per-cpu spinlock rather than RCU (v3)

    On Wednesday 2009-04-15 23:07, Eric Dumazet wrote:
    >Stephen Hemminger a écrit :
    >> Looks like there is some recursive path into ip_tables that makes the
    >> per-cpu spinlock break. I get lockup's with KVM networking.
    >>
    >> Suggestions?
    >
    >Well, it seems original patch was not so bad after all
    >
    >http://lists.netfilter.org/pipermail/netfilter-devel/2006-January/023175.html
    >
    >So change per-cpu spinlocks to per-cpu rwlocks
    >
    >and use read_lock() in ipt_do_table() to allow recursion...
    >
    iptables cannot quite recurse into itself due to the comefrom stuff.

    --
    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: 2009-04-15 23:59    [W:0.020 / U:29.800 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site