[radvd-devel-l] [PATCH] netlink: setsockopt NETLINK_NO_ENOBUFS

Ulrich Weber ulrich.weber at sophos.com
Tue Feb 7 06:05:48 EST 2012


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-setsockopt-NETLINK_NO_ENOBUFS.patch
Type: text/x-patch
Size: 1156 bytes
Desc: not available
URL: <http://lists.litech.org/pipermail/radvd-devel-l/attachments/20120207/730f4e49/attachment.bin>


More information about the radvd-devel-l mailing list