Re: [PATCH] Improve behaviour of Netlink Sockets

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

 



Pablo Neira wrote:


No, there's no problem ;-)
Here we are dequeueing until we get empty the buffer, so if that allocation fails, next callback will handle that packet with a delay. That's the way it is in rtnetlink.c and folks. I prefer delaying the packet than dropping it, this makes netlink sockets more reliable.


Sorry, I got it all wrong. I thought you were trying to give
the receiving process a chance to run by using work queues for
delayed delivery. You way is much better for broadcasts ;)

Regards
Patrick

-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux