aboutsummaryrefslogtreecommitdiffstats
path: root/MAINTAINERS
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2012-06-17 09:56:46 +0000
committerPablo Neira Ayuso <pablo@netfilter.org>2012-06-25 12:03:21 +0200
commitef5b6e127761667f78d99b7510a3876077fe9abe (patch)
treef47a8122ac8fbb8bf7d76b2a4720a811e25dd3e2 /MAINTAINERS
parentbatman-adv: fix race condition in TT full-table replacement (diff)
downloadlinux-dev-ef5b6e127761667f78d99b7510a3876077fe9abe.tar.xz
linux-dev-ef5b6e127761667f78d99b7510a3876077fe9abe.zip
netfilter: ipset: fix interface comparision in hash-netiface sets
ifname_compare() assumes that skb->dev is zero-padded, e.g 'eth1\0\0\0\0\0...'. This isn't always the case. e1000 driver does strncpy(netdev->name, pci_name(pdev), sizeof(netdev->name) - 1); in e1000_probe(), so once device is registered dev->name memory contains 'eth1\0:0:3\0\0\0' (or something like that), which makes eth1 compare fail. Use plain strcmp() instead. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions