Re: [PATCH 05/40] staging/lustre: validate open handle cookies

2013-11-17 Thread Peng Tao
On Sun, Nov 17, 2013 at 3:50 AM, Greg Kroah-Hartman wrote: > On Sat, Nov 16, 2013 at 11:20:37AM +, Dilger, Andreas wrote: >> On 2013/11/14 9:13 PM, "Greg Kroah-Hartman" >> wrote: >> >> >On Fri, Nov 15, 2013 at 12:13:07AM +0800, Peng Tao wrote: >> >> From: "John L. Hammond" >> >> >> >> Add a

Re: [PATCH 05/40] staging/lustre: validate open handle cookies

2013-11-17 Thread Peng Tao
On Sun, Nov 17, 2013 at 3:50 AM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: On Sat, Nov 16, 2013 at 11:20:37AM +, Dilger, Andreas wrote: On 2013/11/14 9:13 PM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: On Fri, Nov 15, 2013 at 12:13:07AM +0800, Peng Tao wrote: From:

Re: [PATCH 05/40] staging/lustre: validate open handle cookies

2013-11-16 Thread Dilger, Andreas
On 2013/11/14 9:13 PM, "Greg Kroah-Hartman" wrote: >On Fri, Nov 15, 2013 at 12:13:07AM +0800, Peng Tao wrote: >> From: "John L. Hammond" >> >> Add a const void *h_owner member to struct portals_handle. Add a const >> void *owner parameter to class_handle2object() which must be matched >> by

Re: [PATCH 05/40] staging/lustre: validate open handle cookies

2013-11-16 Thread Dilger, Andreas
On 2013/11/14 9:13 PM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: On Fri, Nov 15, 2013 at 12:13:07AM +0800, Peng Tao wrote: From: John L. Hammond john.hamm...@intel.com Add a const void *h_owner member to struct portals_handle. Add a const void *owner parameter to

Re: [PATCH 05/40] staging/lustre: validate open handle cookies

2013-11-15 Thread Greg Kroah-Hartman
On Fri, Nov 15, 2013 at 06:22:57PM +0800, Peng Tao wrote: > On Fri, Nov 15, 2013 at 12:13 PM, Greg Kroah-Hartman > wrote: > > On Fri, Nov 15, 2013 at 12:13:07AM +0800, Peng Tao wrote: > >> From: "John L. Hammond" > >> > >> Add a const void *h_owner member to struct portals_handle. Add a const >

Re: [PATCH 05/40] staging/lustre: validate open handle cookies

2013-11-15 Thread Peng Tao
On Fri, Nov 15, 2013 at 12:13 PM, Greg Kroah-Hartman wrote: > On Fri, Nov 15, 2013 at 12:13:07AM +0800, Peng Tao wrote: >> From: "John L. Hammond" >> >> Add a const void *h_owner member to struct portals_handle. Add a const >> void *owner parameter to class_handle2object() which must be matched

Re: [PATCH 05/40] staging/lustre: validate open handle cookies

2013-11-15 Thread Peng Tao
On Fri, Nov 15, 2013 at 12:13 PM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: On Fri, Nov 15, 2013 at 12:13:07AM +0800, Peng Tao wrote: From: John L. Hammond john.hamm...@intel.com Add a const void *h_owner member to struct portals_handle. Add a const void *owner parameter to

Re: [PATCH 05/40] staging/lustre: validate open handle cookies

2013-11-15 Thread Greg Kroah-Hartman
On Fri, Nov 15, 2013 at 06:22:57PM +0800, Peng Tao wrote: On Fri, Nov 15, 2013 at 12:13 PM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: On Fri, Nov 15, 2013 at 12:13:07AM +0800, Peng Tao wrote: From: John L. Hammond john.hamm...@intel.com Add a const void *h_owner member to

Re: [PATCH 05/40] staging/lustre: validate open handle cookies

2013-11-14 Thread Greg Kroah-Hartman
On Fri, Nov 15, 2013 at 12:13:07AM +0800, Peng Tao wrote: > From: "John L. Hammond" > > Add a const void *h_owner member to struct portals_handle. Add a const > void *owner parameter to class_handle2object() which must be matched > by the h_owner member of the handle in addition to the cookie.

[PATCH 05/40] staging/lustre: validate open handle cookies

2013-11-14 Thread Peng Tao
From: "John L. Hammond" Add a const void *h_owner member to struct portals_handle. Add a const void *owner parameter to class_handle2object() which must be matched by the h_owner member of the handle in addition to the cookie. Adjust the callers of class_handle2object() accordingly, using NULL

[PATCH 05/40] staging/lustre: validate open handle cookies

2013-11-14 Thread Peng Tao
From: John L. Hammond john.hamm...@intel.com Add a const void *h_owner member to struct portals_handle. Add a const void *owner parameter to class_handle2object() which must be matched by the h_owner member of the handle in addition to the cookie. Adjust the callers of class_handle2object()

Re: [PATCH 05/40] staging/lustre: validate open handle cookies

2013-11-14 Thread Greg Kroah-Hartman
On Fri, Nov 15, 2013 at 12:13:07AM +0800, Peng Tao wrote: From: John L. Hammond john.hamm...@intel.com Add a const void *h_owner member to struct portals_handle. Add a const void *owner parameter to class_handle2object() which must be matched by the h_owner member of the handle in addition