[radvd-devel-l] [PATCH] netlink: setsockopt NETLINK_NO_ENOBUFS
Reuben Hawkins
reubenhwk at gmail.com
Tue Feb 7 08:11:55 EST 2012
On Tue, Feb 7, 2012 at 3:05 AM, Ulrich Weber <ulrich.weber at sophos.com> wrote:
> Hi all,
>
> please find attached patch to set sockoption NETLINK_NO_ENOBUFS.
> Otherwise radvd might loop with "socket error on fds[1].fd" messages
> in poll function when netlink overruns and sets POLLERR.
>
> Script to reproduce:
> let COUNT=1
> while [[ $COUNT -lt 1000 ]]
> do
> ip link add dummy$COUNT type dummy
> let COUNT++
> done
> sleep 5
> rmmod dummy
>
>
> Best regards
> Ulrich
>
> --
> Ulrich Weber | ulrich.weber at sophos.com | Senior Software Engineer
> Astaro - a Sophos company | Amalienbadstr 41 | 76227 Karlsruhe | Germany
> Phone +49-721-25516-0 | Fax –200 | www.astaro.com
>
>
> --
> radvd-devel-l mailing list : radvd-devel-l at litech.org
> http://lists.litech.org/listinfo/radvd-devel-l
Very cool!
Applied.
Thanks!
More information about the radvd-devel-l
mailing list