Commit cc177a8f authored by David S. Miller's avatar David S. Miller

net/ipv6/netfilter/ip6table_mangle.c: Fix wrong cast.

parent dcddf5b0
......@@ -157,7 +157,7 @@ ip6t_local_hook(unsigned int hook,
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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment