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]>

Index: linux-2.6.11-rc3/drivers/char/ipmi/ipmi_msghandler.c
===================================================================
--- linux-2.6.11-rc3.orig/drivers/char/ipmi/ipmi_msghandler.c
+++ 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;
 }
 

Reply via email to