Handle unexpected MCAST reply as a debug warning the same as is done in
Solaris 12. Please see bug
24954702 for details.
Signed-off-by: George Kennedy <george.kennedy@oracle.com>
Reviewed-by: Liam Merwick <liam.merwick@oracle.com>
Orabug:
24954702
Signed-off-by: Allen Pais <allen.pais@oracle.com>
struct vio_net_mcast_info *pkt = msgbuf;
struct net_device *dev = VNET_PORT_TO_NET_DEVICE(port);
- if (pkt->tag.stype != VIO_SUBTYPE_ACK)
- pr_err("%s: Got unexpected MCAST reply [%02x:%02x:%04x:%08x]\n",
+ if (pkt->tag.stype != VIO_SUBTYPE_ACK) {
+ struct vio_driver_state *vio = &port->vio;
+
+ viodbg(HS,
+ "%s: Got unexpected MCAST reply [%02x:%02x:%04x:%08x]\n",
dev->name,
pkt->tag.type,
pkt->tag.stype,
pkt->tag.stype_env,
pkt->tag.sid);
+ }
return 0;
}