On Thu, Jun 11, 2015 at 06:52:19PM +0000, Wan, Kaike wrote: > > From: Jason Gunthorpe [mailto:jguntho...@obsidianresearch.com] > > Sent: Thursday, June 11, 2015 2:47 PM > > To: Wan, Kaike > > Cc: linux-rdma@vger.kernel.org; Fleck, John; Weiny, Ira > > Subject: Re: [PATCH v5 1/1] ibacm: Add support for pathrecord query > > through netlink > > > > On Thu, Jun 11, 2015 at 06:31:53PM +0000, Wan, Kaike wrote: > > > 1. all mandatory attributes must be present in the message. Otherwise, > > > the request is invalid. > > > > All mandatory attributes that are present must be supported or the user > > space side cannot answer the request. > > Then I will define all mandatory attribute types and check against them on > the user space side.
You need to handle the case where a new kernel gains a new mandatory attribute type. A list in user space does not seem to handle that. Jason -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html