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  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]
Date:   Mon, 3 Aug 2020 17:48:48 -0600
From:   David Ahern <>
To:     Stefano Brivio <>,
        "David S. Miller" <>
Cc:     Florian Westphal <>, Aaron Conole <>,
        Numan Siddique <>,
        Jakub Kicinski <>,
        Pravin B Shelar <>,
        Roopa Prabhu <>,
        Nikolay Aleksandrov <>,
        Lourdes Pedrajas <>,
Subject: Re: [PATCH net-next 3/6] vxlan: Support for PMTU discovery on
 directly bridged links

On 8/3/20 2:52 PM, Stefano Brivio wrote:
> +		err = skb_tunnel_check_pmtu(skb, ndst, VXLAN_HEADROOM,
> +					    netif_is_bridge_port(dev) ||
> +					    netif_is_ovs_port(dev));

you have this check in a few places. Maybe a new helper like
netif_is_any_bridge_port that can check both IFF flags in 1 go.

Powered by blists - more mailing lists