freeipmi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Freeipmi-devel] [bug #38781] Errant "Legacy PAD" byte added to IPMI 2.0


From: Rob Swindell
Subject: [Freeipmi-devel] [bug #38781] Errant "Legacy PAD" byte added to IPMI 2.0 (RMCP+) packets
Date: Thu, 25 Apr 2013 01:54:24 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.22) Gecko/20110902 Firefox/3.6.22

Follow-up Comment #4, bug #38781 (project freeipmi):

Here's the patch (another one-liner):

Index: libfreeipmi/api/ipmi-lan-session-common.c
===================================================================
--- libfreeipmi/api/ipmi-lan-session-common.c   (revision 9608)
+++ libfreeipmi/api/ipmi-lan-session-common.c   (working copy)
@@ -2304,7 +2304,10 @@

   do
     {
-      ret = ipmi_lan_sendto (ctx->io.outofband.sockfd,
+      /* bug #38781 fix:
+         Do not use ipmi_lan_sendto() for RMCP+ packets as the "Legacy Pad"
byte added by that function
+         is not needed or allowed with IPMI 2.0/RMCP+ */
+      ret = sendto (ctx->io.outofband.sockfd,
                              pkt,
                              send_len,
                              0,


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?38781>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]