[OpenWrt-Devel] Network broken with kernels 5.2+

Rafał Miłecki zajec5 at gmail.com
Wed Feb 12 11:38:21 EST 2020


On Tue, 29 Oct 2019 at 07:00, Mathias Kresin <dev at kresin.me> wrote:
> 28/10/2019 23:01, Rafał Miłecki:
> > Using OpenWrt with kernels 5.2+ results in broken network. Interfaces
> > seem OK but I cannot ping my router anymore.
> >
> > This regression is caused by the upstream commit
> >
> > commit b424e432e770d6dd572765459d5b6a96a19c5286 (refs/bisect/bad)
> > Author: Michal Kubecek <mkubecek at suse.cz>
> > Date:   Thu May 2 16:15:10 2019 +0200
> >
> >      netlink: add validation of NLA_F_NESTED flag
> >
> > Reverting that commit from the top of 5.2 or 5.3 fixes network for me.
> >
> > Any ideas what's wrong with OpenWrt & above change?
> >
>
> Hey Rafał,
>
> assuming you are on a target using swconfig, this patch should fix the
> broken network:
>
> https://git.openwrt.org/?p=openwrt/staging/mkresin.git;a=commit;h=3a772ee231e4b4c2c537d8d541f001b5242b9c35

Do you mind if I push your patch? I successfully tested it with 5.4.

-- 
Rafał

_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list