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: <CAFdo_mWQzLQpgN0NjzXJ9HoeKCbzF9TLfC4-RZwp_=DFY25Gsg@mail.gmail.com>
Date:	Tue, 29 Nov 2011 12:07:43 +0100
From:	Igor Maravić <igorm@....rs>
To:	netdev@...r.kernel.org
Cc:	eric.dumazet@...il.com, Igor Maravic <igorm@....rs>
Subject: Re: [PATCH] Fix jump_label handling in dev.c

Please ignore this.
My mistake.

2011/11/29  <igorm@....rs>:
> From: Igor Maravic <igorm@....rs>
>
> static_branch instead of atomic_read.
> Eric forgot to replace that.
>
> Signed-off-by: Igor Maravic <igorm@....rs>
>
> :100644 100644 579ce33... d358088... M  net/core/dev.c
>
> diff --git a/net/core/dev.c b/net/core/dev.c
> index 579ce33..d358088 100644
> --- a/net/core/dev.c
> +++ b/net/core/dev.c
> @@ -1482,12 +1482,12 @@ EXPORT_SYMBOL(net_disable_timestamp);
>  static inline void net_timestamp_set(struct sk_buff *skb)
>  {
>        skb->tstamp.tv64 = 0;
> -       if (atomic_read(&netstamp_needed))
> +       if (static_branch(&netstamp_needed))
>                __net_timestamp(skb);
>  }
>
>  #define net_timestamp_check(COND, SKB)                 \
> -       if (atomic_read(&netstamp_needed)) {            \
> +       if (static_branch(&netstamp_needed)) {          \
>                if ((COND) && !(SKB)->tstamp.tv64)      \
>                        __net_timestamp(SKB);           \
>        }                                               \
> --
> 1.7.5.4
>
>
--
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