lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170817182116.GE21715@lunn.ch>
Date:   Thu, 17 Aug 2017 20:21:16 +0200
From:   Andrew Lunn <andrew@...n.ch>
To:     Florian Westphal <fw@...len.de>
Cc:     netdev@...r.kernel.org, f.fainelli@...il.com,
        vivien.didelot@...oirfairelinux.com
Subject: Re: [PATCH net-next] dsa: remove unused net_device arg from handlers

On Thu, Aug 17, 2017 at 04:47:00PM +0200, Florian Westphal wrote:
> compile tested only, but saw no warnings/errors with
> allmodconfig build.
>  
>  static int dsa_switch_rcv(struct sk_buff *skb, struct net_device *dev,
> -			  struct packet_type *pt, struct net_device *orig_dev)
> +			  struct packet_type *pt, struct net_device *unused)

Hi Florian

Looks O.K. to me. I can test it out later.

Is there a bigger picture here? Do you plan to remove the second
net_device parameter everywhere?

	   Andrew

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ