From fe79fabbed056d081d6130cbd83e5b2fc42c3c52 Mon Sep 17 00:00:00 2001 From: Shahed Shaikh Date: Wed, 11 Feb 2015 09:45:24 -0500 Subject: [PATCH] qlcnic: Delete existing multicast MAC list before adding new Driver keeps adding multicast addresses without deleting removed MACs and worrying about adapters filter limit. This results into actual count of programmed multicast addresses get accumulated over the time and overruns the adapter's filter limit without putting device in ACCEPT_ALL_MULTI mode. This causes newly added multicast traffic to fail after the sequence of addition - deletion in certain pattern. This issue is seen only when netdev's mcast list count is less than adapters mcast filter limit. e.g. If adapters multicast filter limit is 38 per function then following sequence would result in multicast traffic failure for newly added MACs. - add less than 38 multicast MACs - remove previously added multicast MACs - add new multicast MACs (less than 38) Signed-off-by: Shahed Shaikh Signed-off-by: David S. Miller --- Reading git-format-patch failed