Re: Connection problems on large high speed connections.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I saw this on the netfilter page. Maybe I forgot to say I have a dual
cpu system. Can this be the source of my problems?


Author: Patrick McHardy, <kaber@xxxxxxxxx> 
Status: Working

This patch fixes a deadlock condition in conntrack/nat-helpers

There is a possible deadlock condition with conntrack/nat-helpers:

CPU1:
conntrack-helper:help: lock(private_lock)
ip_conntrack_expect_related: write_lock(ip_conntrack_lock)

CPU2:
nat-core:do_bindings: read_lock(ip_conntrack_lock)
nat-helper:help: lock(private_lock)

The lock in the nat-helper is unneccessary because the expectation
is never changed and is protected by ip_conntrack_lock.


How do I go about to implement this patch? I cannot find it patchomatic-ng, maybe I am doing it wrongly. 

Best regards
Stian B. Barmen

Attachment: smime.p7s
Description: S/MIME cryptographic signature


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux