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

    > netfilter: ctnetlink: fix loop in ctnetlink_get_conntrack()
    > From: Pablo Neira Ayuso <>
    > 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 <>
    > Signed-off-by: Pablo Neira Ayuso <>

    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:1.352 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site