* [PATCH] Fix IPMI LAN bridging
@ 2005-02-12 3:04 Corey Minyard
0 siblings, 0 replies; only message in thread
From: Corey Minyard @ 2005-02-12 3:04 UTC (permalink / raw)
To: Andrew Morton, lkml
[-- Attachment #1: Type: text/plain, Size: 1 bytes --]
[-- Attachment #2: ipmi-lan-addr-len.diff --]
[-- Type: text/plain, Size: 600 bytes --]
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 <minyard@acm.org>
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;
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-02-12 3:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-12 3:04 [PATCH] Fix IPMI LAN bridging Corey Minyard
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.