aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_input.c
diff options
context:
space:
mode:
authorMariusz Ceier <mceier+kernel@gmail.com>2013-10-21 19:45:04 +0200
committerDavid S. Miller <davem@davemloft.net>2013-10-21 18:56:23 -0400
commitd69e0f7ea95fef8059251325a79c004bac01f018 (patch)
tree6ab3543945d3a6a5df9a96f5add02c82acbd201a /net/ipv4/tcp_input.c
parentmac802154: correct a typo in ieee802154_alloc_device() prototype (diff)
downloadlinux-dev-d69e0f7ea95fef8059251325a79c004bac01f018.tar.xz
linux-dev-d69e0f7ea95fef8059251325a79c004bac01f018.zip
davinci_emac.c: Fix IFF_ALLMULTI setup
When IFF_ALLMULTI flag is set on interface and IFF_PROMISC isn't, emac_dev_mcast_set should only enable RX of multicasts and reset MACHASH registers. It does this, but afterwards it either sets up multicast MACs filtering or disables RX of multicasts and resets MACHASH registers again, rendering IFF_ALLMULTI flag useless. This patch fixes emac_dev_mcast_set, so that multicast MACs filtering and disabling of RX of multicasts are skipped when IFF_ALLMULTI flag is set. Tested with kernel 2.6.37. Signed-off-by: Mariusz Ceier <mceier+kernel@gmail.com> Acked-by: Mugunthan V N <mugunthanvnm@ti.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions