summaryrefslogtreecommitdiffstats
path: root/net/netrom
diff options
context:
space:
mode:
authorPaul Moore <paul.moore@hp.com>2009-04-21 10:04:22 +0000
committerDavid S. Miller <davem@davemloft.net>2009-04-22 00:46:09 -0700
commit50b2ff1bc47baacb8e9882b2b2a74b240ddbeecf (patch)
tree8ee63f5f2e28a501d5a91ac13ffea112d2018afc /net/netrom
parentcef309cf6112f9a44b1ebcefc1641d01d35c83dc (diff)
downloadlinux-stable-50b2ff1bc47baacb8e9882b2b2a74b240ddbeecf.tar.gz
linux-stable-50b2ff1bc47baacb8e9882b2b2a74b240ddbeecf.tar.bz2
linux-stable-50b2ff1bc47baacb8e9882b2b2a74b240ddbeecf.zip
netlabel: Always remove the correct address selector
The NetLabel address selector mechanism has a problem where it can get mistakenly remove the wrong selector when similar addresses are used. The problem is caused when multiple addresses are configured that have different netmasks but the same address, e.g. 127.0.0.0/8 and 127.0.0.0/24. This patch fixes the problem. Reported-by: Etienne Basset <etienne.basset@numericable.fr> Signed-off-by: Paul Moore <paul.moore@hp.com> Acked-by: James Morris <jmorris@namei.org> Tested-by: Etienne Basset <etienne.basset@numericable.fr> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netrom')
0 files changed, 0 insertions, 0 deletions