[PATCH v3] kni: fix ioctl signature

Thomas Monjalon thomas at monjalon.net
Wed Feb 2 20:59:27 CET 2022


03/12/2021 17:28, Stephen Hemminger:
> On Fri,  3 Dec 2021 08:19:07 +0100
> Markus Theil <markus.theil at tu-ilmenau.de> wrote:
> 
> > From: Markus Theil <markus.theil at secunet.com>
> > 
> > Fix kni's ioctl signature to correctly match the kernel's
> > structs. This shaves off the (void*) casts and uses struct file*
> > instead of struct inode*. With the correct signature, control flow
> > integrity checkers are no longer confused at this point.
> > 
> > Signed-off-by: Markus Theil <markus.theil at secunet.com>
> > Tested-by: Michael Pfeiffer <michael.pfeiffer at tu-ilmenau.de>
> > ---
> 
> Thanks for fixing.
> 
> Acked-by: Stephen Hemminger <stephen at networkplumber.org>

Applied, thanks




More information about the dev mailing list