netfilter: IPv6: fix DSCP mangle code
authorFernando Luis Vazquez Cao <fernando@oss.ntt.co.jp>
Tue, 10 May 2011 08:00:21 +0000 (10:00 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 10 May 2011 08:00:21 +0000 (10:00 +0200)
commit1ed2f73d90fb49bcf5704aee7e9084adb882bfc5
treed1a42f9069ef44c5d84157192ff3b2222ab830ab
parent4319cc0cf5bb894b7368008cdf6dd20eb8868018
netfilter: IPv6: fix DSCP mangle code

The mask indicates the bits one wants to zero out, so it needs to be
inverted before applying to the original TOS field.

Signed-off-by: Fernando Luis Vazquez Cao <fernando@oss.ntt.co.jp>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/xt_DSCP.c