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: <CALnjE+pvWd+MZinJU6kMVLnz0c2jemK8aWG2g9p+pKbMt2bgRQ@mail.gmail.com>
Date:	Thu, 20 Aug 2015 13:33:46 -0700
From:	Pravin Shelar <pshelar@...ira.com>
To:	David Miller <davem@...emloft.net>
Cc:	netdev <netdev@...r.kernel.org>
Subject: Re: [PATCH net-next v2 5/9] geneve: Add support to collect tunnel metadata.

On Tue, Aug 18, 2015 at 2:12 PM, David Miller <davem@...emloft.net> wrote:
> From: Pravin B Shelar <pshelar@...ira.com>
> Date: Mon, 17 Aug 2015 14:11:41 -0700
>
>> +     if (tun_dst)
>> +             skb_dst_set(skb, (struct dst_entry *)tun_dst);
>> +
>
> Please don't cast things like this, it is completely unnecessary:
>
>         skb_dst_set(skb, &tun_dst->dst);

ok.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ