mirror of
https://github.com/openwrt/openwrt.git
synced 2026-06-17 19:11:38 +04:00
364be1fd7f
Kernel since version 6.16 defines `SOCKWQ_ASYNC_NOSPACE` and SOCKWQ_ASYNC_WAITDATA` in the socket_flags enum, which causes redefinition errors when compiling the backport package[1]. Since kernel 6.12 also has them defined, the test and definition of these constants have been completely abandoned. Thanks to this, there are no compilation errors on either kernel 6.12 or 6.18. 1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.16&id=0e81cfd971dc4833c699dcd8924e54a5021bc4e8 Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com> Link: https://github.com/openwrt/openwrt/pull/21078 Signed-off-by: Robert Marko <robimarko@gmail.com>