summaryrefslogtreecommitdiffstats
path: root/drivers/net/tulip
diff options
context:
space:
mode:
authorAlex Williamson2009-02-09 02:49:17 +0100
committerDavid S. Miller2009-02-09 02:49:17 +0100
commitcfbf84fcbcda98bb91ada683a8dc8e6901a83ebd (patch)
treeabc699128c7579183a7d493ca88807d9ba3d710a /drivers/net/tulip
parentdrivers/isdn: introduce missing kfree (diff)
downloadkernel-qcow2-linux-cfbf84fcbcda98bb91ada683a8dc8e6901a83ebd.tar.gz
kernel-qcow2-linux-cfbf84fcbcda98bb91ada683a8dc8e6901a83ebd.tar.xz
kernel-qcow2-linux-cfbf84fcbcda98bb91ada683a8dc8e6901a83ebd.zip
tun: Fix unicast filter overflow
Tap devices can make use of a small MAC filter set via the TUNSETTXFILTER ioctl. The filter has a set of exact matches plus a hash for imperfect filtering of additional multicast addresses. The current code is unbalanced, adding unicast addresses to the multicast hash, but only checking the hash against multicast addresses. This results in the filter dropping unicast addresses that overflow the exact filter. The fix is simply to disable the filter by leaving count set to zero if we find non-multicast addresses after the exact match table is filled. Signed-off-by: Alex Williamson <alex.williamson@hp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/tulip')
0 files changed, 0 insertions, 0 deletions