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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CANn89iKmEP1q9dRdOJWwULyCFXTSOYJH+WGjBaHgHMMycdZgDg@mail.gmail.com>
Date:   Sat, 17 Sep 2016 12:09:08 -0700
From:   Eric Dumazet <edumazet@...gle.com>
To:     kbuild test robot <lkp@...el.com>
Cc:     Neal Cardwell <ncardwell@...gle.com>, kbuild-all@...org,
        David Miller <davem@...emloft.net>,
        netdev <netdev@...r.kernel.org>,
        Yuchung Cheng <ycheng@...gle.com>,
        Van Jacobson <vanj@...gle.com>,
        Nandita Dukkipati <nanditad@...gle.com>,
        Soheil Hassas Yeganeh <soheil@...gle.com>
Subject: Re: [PATCH v2 net-next 07/16] tcp: track data delivery rate for a TCP connection

On Sat, Sep 17, 2016 at 12:04 PM, kbuild test robot <lkp@...el.com> wrote:
> Hi Yuchung,
>
> [auto build test ERROR on net-next/master]
>
> url:    https://github.com/0day-ci/linux/commits/Neal-Cardwell/tcp-BBR-congestion-control-algorithm/20160918-014058
> config: x86_64-randconfig-s2-09180225 (attached as .config)
> compiler: gcc-4.4 (Debian 4.4.7-8) 4.4.7
> reproduce:
>         # save the attached .config to linux build tree
>         make ARCH=x86_64
>
> All error/warnings (new ones prefixed by >>):
>
>    net/ipv4/tcp_input.c: In function 'tcp_ack':
>>> net/ipv4/tcp_input.c:3559: error: unknown field 'v64' specified in initializer
>>> net/ipv4/tcp_input.c:3559: warning: missing braces around initializer
>    net/ipv4/tcp_input.c:3559: warning: (near initialization for 'rs.prior_mstamp.<anonymous>')
>
> vim +/v64 +3559 net/ipv4/tcp_input.c
>
>   3553  /* This routine deals with incoming acks, but not outgoing ones. */
>   3554  static int tcp_ack(struct sock *sk, const struct sk_buff *skb, int flag)
>   3555  {
>   3556          struct inet_connection_sock *icsk = inet_csk(sk);
>   3557          struct tcp_sock *tp = tcp_sk(sk);
>   3558          struct tcp_sacktag_state sack_state;
>> 3559          struct rate_sample rs = { .prior_mstamp.v64 = 0, .prior_delivered = 0 };
>

Arg, silly compilers out there.

We can omit prior_mstamp , as the compiler will zero fields anyway

struct rate_sample rs = { .prior_delivered = 0 };

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ