]> git.karo-electronics.de Git - linux-beck.git/commit
netfilter: ip6table_mangle: Fix set-but-unused variables.
authorDavid S. Miller <davem@davemloft.net>
Mon, 18 Apr 2011 00:06:15 +0000 (17:06 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 Apr 2011 00:06:15 +0000 (17:06 -0700)
commitb169f6db40605d0907458d1ff78ceac2b194a44f
tree685955d2bb913f026612e5b200529179033d5e82
parentf3c85dd560f26ceae1351e6f83e83f1322761ead
netfilter: ip6table_mangle: Fix set-but-unused variables.

The variable 'flowlabel' is set but unused in ip6t_mangle_out().

The intention here was to compare this key to the header value after
mangling, and trigger a route lookup on mismatch.

Make it so.

Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/netfilter/ip6table_mangle.c