openwrt / routing

OpenWrt Routing Packages
328 stars 369 forks source link

openwrt-23.05: batman-adv: compat: Fix skb_vlan_eth_hdr conflict in stable kernels #1039

Closed ecsv closed 8 months ago

ecsv commented 8 months ago

Maintainer: @simonwunderlich Compile tested: ramips / mipsel_24kc (mt76x8) Run tested: -

Description:

The newest Linux stable kernel releases:

received a backported version of commit 1f5020acb33f ("net: vlan: introduce skb_vlan_eth_hdr()"). batman-adv must therefore not provide this function any longer for these kernel versions.

Closes: #1036

herbetom commented 8 months ago

From what i can tell is openwrt-23.05 still on 5.15.139:

https://github.com/openwrt/openwrt/blob/59fd8f08cf544a7f0fcaf700ca9af9292de3adcc/include/kernel-5.15

And the commit as mentioned in the PR description only backported since v5.15.144.

https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/include/linux/if_vlan.h?h=v5.15.144&id=3c4dcfbff15bae6a4da8ef5682d94e849612b47c

But I don't want to rule out the possibility that I'm missing something.

ecsv commented 8 months ago

From what i can tell is openwrt-23.05 still on 5.15.139:

https://github.com/openwrt/openwrt/blob/59fd8f08cf544a7f0fcaf700ca9af9292de3adcc/include/kernel-5.15

And the commit as mentioned in the PR description only backported since v5.15.144.

https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/include/linux/if_vlan.h?h=v5.15.144&id=3c4dcfbff15bae6a4da8ef5682d94e849612b47c

But I don't want to rule out the possibility that I'm missing something.

What are you trying to tell us with this information? Do you assume that openwrt-23.05.x will always stay on a kernel < v5.15.144 and that we should there now remove this modification again? And even if OpenWrt is really neglecting 23.05.x, don't you think that at least some downstream projects should (and will) update to a newer v5.15.x bugfix release?

Or did you find a bug because of this change and we should therefore remove it again?

Or?

herbetom commented 8 months ago

sorry, while trying to figure out if this change is relevant i mixed up the change here and the upstream change as i didn't look closely enough what the actual change beeing made here was and assumed something. So everyhing should be fine.