Re: [PATCH 01/10] net: separate SIOCGIFCONF handling from dev_ioctl()

2018-01-22 Thread Christoph Hellwig
Looks nice: Reviewed-by: Christoph Hellwig

[PATCH 01/10] net: separate SIOCGIFCONF handling from dev_ioctl()

2018-01-18 Thread Al Viro
From: Al Viro Only two of dev_ioctl() callers may pass SIOCGIFCONF to it. Separating that codepath from the rest of dev_ioctl() allows both to simplify dev_ioctl() itself (all other cases work with struct ifreq *) *and* seriously simplify the compat side of that beast: all it takes is passing to