qcacld-3.0: Do not update multicast counters when unicast packet is received
Currently both unicast and multicast counters are updated when unicast packet is received if a multicast IP packet is sent using a unicast MAC address. Fix is to not update multicast counters when unicast packet is received. Change-Id: I6907a0cf51525af1ba6fb7e7be472eff72aaa779 CRs-Fixed: 2052905
Этот коммит содержится в:

коммит произвёл
snandini

родитель
369e4eec3a
Коммит
ff6eafc63a
@@ -2157,13 +2157,6 @@ static void wma_wow_parse_data_pkt(struct sir_vdev_wow_stats *stats,
|
||||
break;
|
||||
default:
|
||||
stats->ucast++;
|
||||
|
||||
/* mcast ipv4/6 in ucast mac counts for both */
|
||||
if (wma_pkt_is_tcpv4_mcast(data, length))
|
||||
stats->ipv4_mcast++;
|
||||
if (wma_pkt_is_tcpv6_mcast(data, length))
|
||||
stats->ipv6_mcast++;
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
|
Ссылка в новой задаче
Block a user