Skip to contentSkip to conversation

Fix IPMI LAN bridging

PATCH New Corey Minyard 1 participant 1 message Feb 12, 2005 IPMI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix IPMI LAN bridging

The size of LAN bridged messages was not being returned properly from the function that calculated address sizes. This fixes the problem.

drivers/char/ipmi/ipmi_msghandler.c +3 -0
Index: linux-2.6.11-rc3/drivers/char/ipmi/ipmi_msghandler.c
===================================================================
@@ -480,6 +480,9 @@
 		return sizeof(struct ipmi_ipmb_addr);
 	}
 
+	if (addr_type == IPMI_LAN_ADDR_TYPE)
+		return sizeof(struct ipmi_lan_addr);
+
 	return 0;
 }