patch-2.4.21 linux-2.4.21/net/ipv6/netfilter/ip6table_mangle.c

Next file: linux-2.4.21/net/ipv6/reassembly.c
Previous file: linux-2.4.21/net/ipv6/netfilter/ip6t_rt.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.20/net/ipv6/netfilter/ip6table_mangle.c linux-2.4.21/net/ipv6/netfilter/ip6table_mangle.c
@@ -157,7 +157,7 @@
 	hop_limit = (*pskb)->nh.ipv6h->hop_limit;
 
 	/* flowlabel and prio (includes version, which shouldn't change either */
-	flowlabel = (u_int32_t) (*pskb)->nh.ipv6h;
+	flowlabel = *((u_int32_t *) (*pskb)->nh.ipv6h);
 
 	ret = ip6t_do_table(pskb, hook, in, out, &packet_mangler, NULL);
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)