ar71xx,ath79: refresh 910-unaligned_access_hacks.patch
Commitc9c7b4b394
("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:c9c7b4b394
("kernel: add netfilter-actual-sk patch") Signed-off-by: Petr Štetiar <ynezz@true.cz>
This commit is contained in:
parent
733a482733
commit
193adc94d1
@ -937,6 +937,6 @@
|
|||||||
ipv6_hdr(skb)->hop_limit != hop_limit ||
|
ipv6_hdr(skb)->hop_limit != hop_limit ||
|
||||||
- flowlabel != *((u_int32_t *)ipv6_hdr(skb)))) {
|
- flowlabel != *((u_int32_t *)ipv6_hdr(skb)))) {
|
||||||
+ flowlabel != net_hdr_word(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)
|
if (err < 0)
|
||||||
ret = NF_DROP_ERR(err);
|
ret = NF_DROP_ERR(err);
|
||||||
|
@ -895,6 +895,6 @@
|
|||||||
ipv6_hdr(skb)->hop_limit != hop_limit ||
|
ipv6_hdr(skb)->hop_limit != hop_limit ||
|
||||||
- flowlabel != *((u_int32_t *)ipv6_hdr(skb)))) {
|
- flowlabel != *((u_int32_t *)ipv6_hdr(skb)))) {
|
||||||
+ flowlabel != net_hdr_word(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)
|
if (err < 0)
|
||||||
ret = NF_DROP_ERR(err);
|
ret = NF_DROP_ERR(err);
|
||||||
|
Loading…
Reference in New Issue
Block a user