Fix IPMI LAN bridging
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.
Signed-off-by Corey Minyard <[email protected]>
drivers/char/ipmi/ipmi_msghandler.c +3 -0
@@ -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 ; }