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>] [day] [month] [year] [list]
Message-ID: <202109290610.sAFNQcD6-lkp@intel.com>
Date:   Wed, 29 Sep 2021 06:47:25 +0800
From:   kernel test robot <lkp@...el.com>
To:     Daniel Borkmann <daniel@...earbox.net>
Cc:     llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
        Daniel Borkmann <daniel@...earbox.net>,
        linux-kernel@...r.kernel.org
Subject: [dborkman-bpf:pr/bpf-tstamp 3/3] include/net/tcp.h:812:27: error: no
 member named 'skb_mstamp_ns' in 'struct sk_buff'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/dborkman/bpf.git pr/bpf-tstamp
head:   f7d619a946e981177777983af26e9e31163ffb38
commit: f7d619a946e981177777983af26e9e31163ffb38 [3/3] net: skb clock bases
config: hexagon-randconfig-r045-20210928 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project dc6e8dfdfe7efecfda318d43a06fae18b40eb498)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://git.kernel.org/pub/scm/linux/kernel/git/dborkman/bpf.git/commit/?id=f7d619a946e981177777983af26e9e31163ffb38
        git remote add dborkman-bpf https://git.kernel.org/pub/scm/linux/kernel/git/dborkman/bpf.git
        git fetch --no-tags dborkman-bpf pr/bpf-tstamp
        git checkout f7d619a946e981177777983af26e9e31163ffb38
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash kernel/bpf/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>

All errors (new ones prefixed by >>):

   In file included from kernel/bpf/btf.c:22:
   In file included from include/linux/skmsg.h:13:
>> include/net/tcp.h:812:27: error: no member named 'skb_mstamp_ns' in 'struct sk_buff'
           return tcp_ns_to_ts(skb->skb_mstamp_ns);
                               ~~~  ^
   include/net/tcp.h:818:22: error: no member named 'skb_mstamp_ns' in 'struct sk_buff'
           return div_u64(skb->skb_mstamp_ns, NSEC_PER_USEC);
                          ~~~  ^
   include/net/tcp.h:2367:8: error: no member named 'skb_mstamp_ns' in 'struct sk_buff'
                   skb->skb_mstamp_ns += (u64)tp->tcp_tx_delay * NSEC_PER_USEC;
                   ~~~  ^
   3 errors generated.


vim +812 include/net/tcp.h

^1da177e4c3f41 Linus Torvalds 2005-04-16  809  
7faee5c0d51416 Eric Dumazet   2014-09-05  810  static inline u32 tcp_skb_timestamp(const struct sk_buff *skb)
7faee5c0d51416 Eric Dumazet   2014-09-05  811  {
200ecef67b8d09 Eric Dumazet   2019-11-07 @812  	return tcp_ns_to_ts(skb->skb_mstamp_ns);
7faee5c0d51416 Eric Dumazet   2014-09-05  813  }
7faee5c0d51416 Eric Dumazet   2014-09-05  814  

:::::: The code at line 812 was first introduced by commit
:::::: 200ecef67b8d09d16ec55f91c92751dcc7a38d40 tcp: Remove one extra ktime_get_ns() from cookie_init_timestamp

:::::: TO: Eric Dumazet <edumazet@...gle.com>
:::::: CC: David S. Miller <davem@...emloft.net>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

Download attachment ".config.gz" of type "application/gzip" (23501 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ