On Tue, Dec 11, 2018 at 03:17:46PM -0200, Martin Pieuchot wrote:
> - Unify the two hooks by passing the same argument
> - Check for nullity before dereferencing `if_bridgeport', this will
>   matter when we go MP
> - Use the same pattern to find a member in the ioctl path
> 
> ok?

OK bluhm@

>  void
>  bridge_ifdetach(void *arg)
>  {
> +     struct bridge_iflist *bif = (struct bridge_iflist *)arg;

You don't need this cast.  The compiler knows how to convert a void
pointer.

  • bridge nits Martin Pieuchot
    • Re: bridge nits Alexander Bluhm

Reply via email to