[PATCH] ifplugd: fix netlink recv
js at sig21.net
Mon Jul 8 13:12:23 UTC 2013
On Mon, Jul 08, 2013 at 03:04:19PM +0200, Johannes Stezenbach wrote:
> On Mon, Jul 08, 2013 at 02:30:20PM +0200, walter harms wrote:
> > strange,
> > did the paket size change unexpectedly ?
> > i do not believe so.
> > Is 4k really the minimum size ?
> Please do not stop post.
> I have not researched this into every detail, all I know
> is that this change fixes it. My kernel version is 3.9.9.
Sorry, sent too soon. I want to add that 2048 also
seems to work for ifplugd, but since in the ifmetric
bug 2048 was too small, I also choose 4096 for ifplugd.
I'm not sure if the netlink packet size is different for
ifmetric or if it depends on other things like kernel config
or type of interface. So I choose 4096 to be on the safe side,
since I don't have the time to properly research netlink operation.
More information about the busybox