ar71xx,ath79: refresh 910-unaligned_access_hacks.patch
authorPetr Štetiar <ynezz@true.cz>
Tue, 24 Nov 2020 08:21:12 +0000 (09:21 +0100)
committerPetr Štetiar <ynezz@true.cz>
Tue, 24 Nov 2020 08:27:50 +0000 (09:27 +0100)
Commit c9c7b4b3945c ("kernel: add netfilter-actual-sk patch") has
touched net/ipv6/netfilter/ip6table_mangle.c which in turn has affected
910-unaligned_access_hacks.patch so the patch needs to be refreshed.

Fixes: c9c7b4b3945c ("kernel: add netfilter-actual-sk patch")
Signed-off-by: Petr Štetiar <ynezz@true.cz>
target/linux/ar71xx/patches-4.14/910-unaligned_access_hacks.patch
target/linux/ath79/patches-4.14/910-unaligned_access_hacks.patch

index 1e9ec3d628b6e07a0bb8f2f6e287424b4e90432b..e7b7923773e6b09ce33e2ca1be8b5b606c2b9876 100644 (file)
             ipv6_hdr(skb)->hop_limit != hop_limit ||
 -           flowlabel != *((u_int32_t *)ipv6_hdr(skb)))) {
 +           flowlabel != net_hdr_word(ipv6_hdr(skb)))) {
-               err = ip6_route_me_harder(state->net, skb);
+               err = ip6_route_me_harder(state->net, state->sk, skb);
                if (err < 0)
                        ret = NF_DROP_ERR(err);
index d9cefe1dfa71b1227186cc0c88ac8cf2f93a408c..68f0100b31e47ced13ed2ae482d3ddacc2523e64 100644 (file)
             ipv6_hdr(skb)->hop_limit != hop_limit ||
 -           flowlabel != *((u_int32_t *)ipv6_hdr(skb)))) {
 +           flowlabel != net_hdr_word(ipv6_hdr(skb)))) {
-               err = ip6_route_me_harder(state->net, skb);
+               err = ip6_route_me_harder(state->net, state->sk, skb);
                if (err < 0)
                        ret = NF_DROP_ERR(err);