<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2873" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=513595514-11092006>A little patch, 
adding a sanity check for Modify CA verb</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Index: 
core/al/al_ca.c<BR>===================================================================<BR>--- 
core/al/al_ca.c (revision 487)<BR>+++ core/al/al_ca.c (working 
copy)<BR>@@ -305,6 +305,11 @@<BR>   AL_PRINT_EXIT( 
TRACE_LEVEL_ERROR, AL_DBG_ERROR, ("IB_INVALID_PARAMETER\n") 
);<BR>   return 
IB_INVALID_PARAMETER;<BR>  }<BR>+ if (ca_mod > 
IB_CA_MOD_LAST_OPTION)<BR>+ {<BR>+  AL_PRINT_EXIT( 
TRACE_LEVEL_ERROR, AL_DBG_ERROR, ("IB_INVALID_PARAMETER\n") 
);<BR>+  return 
IB_INVALID_PARAMETER;<BR>+ }<BR> <BR>  status = 
verbs_modify_ca(h_ca, port_num, ca_mod, p_port_attr_mod);<BR> <BR>Index: 
inc/iba/ib_types.h<BR>===================================================================<BR>--- 
inc/iba/ib_types.h (revision 487)<BR>+++ inc/iba/ib_types.h (working 
copy)<BR>@@ -9463,6 +9463,7 @@<BR> #define 
IB_CA_MOD_INIT_TYPE_VALUE   0x00200000<BR> #define 
IB_CA_MOD_SYSTEM_IMAGE_GUID   0x00400000<BR> #define 
IB_CA_MOD_IS_CLIENT_REREGISTER_SUPPORTED  0x00800000<BR>+#define 
IB_CA_MOD_LAST_OPTION    0x00800000<BR> /*<BR> * 
VALUES<BR> * IB_CA_MOD_IS_CM_SUPPORTED<BR></FONT></DIV></BODY></HTML>