Re: [RFC PATCH v2 10/18] calipso: Set the calipso socket label to match the secattr.

2016-02-11 Thread Huw Davies
On Sun, Feb 07, 2016 at 02:56:08PM -0500, Paul Moore wrote: > On Friday, January 08, 2016 09:52:46 AM Huw Davies wrote: > > +/** > > + * calipso_genopt - Generate a CALIPSO option > > + * @buf: the option buffer > > + * @start: offset from which to write > > + * @buf_len: the size of opt_buf > > +

Re: [RFC PATCH v2 10/18] calipso: Set the calipso socket label to match the secattr.

2016-02-07 Thread Paul Moore
On Friday, January 08, 2016 09:52:46 AM Huw Davies wrote: > CALIPSO is a hop-by-hop IPv6 option. A lot of this patch is based on > the equivalent CISPO code. The main difference is due to manipulating > the options in the hop-by-hop header. > > Signed-off-by: Huw Davies