lkml.org 
[lkml]   [2010]   [Dec]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: ctnetlink loop
    From
    From: Pablo Neira Ayuso <pablo@netfilter.org>
    Date: Thu, 09 Dec 2010 11:56:13 +0100

    > netfilter: ctnetlink: fix loop in ctnetlink_get_conntrack()
    >
    > From: Pablo Neira Ayuso <pablo@netfilter.org>
    >
    > This patch fixes a loop in ctnetlink_get_conntrack() that can be
    > triggered if you use the same socket to receive events and to
    > perform a GET operation. Under heavy load, netlink_unicast()
    > may return -EAGAIN, this error code is reserved in nfnetlink for
    > the module load-on-demand. Instead, we return -ENOBUFS which is
    > the appropriate error code that has to be propagated to
    > user-space.
    >
    > Reported-by: Holger Eitzenberger <holger@eitzenberger.org>
    > Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>

    Since Patrick seems to be inactive I have applied this directly
    to net-2.6, thanks guys!


    \
     
     \ /
      Last update: 2010-12-10 23:03    [W:0.020 / U:61.928 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site