- 传说的烧饼2017-09-06论坛元老5795
使用秋水的BBR一键包更新后是 4.13.1-1的内核了,使用下面的方法魔改失败了!
http://www.hostloc.com/forum.php ... 041&pid=4745473- make -C /lib/modules/$(uname -r)/build M=
pwdmodules CC=/usr/bin/gcc - make: Entering directory `/usr/src/kernels/4.13.0-1.el6.elrepo.x86_64'
- CC /root/tcp_tsunami.o
- /root/tcp_tsunami.c:67: error: field ‘cycle_mstamp’ has incomplete type
- /root/tcp_tsunami.c: In function ‘bbr_is_next_cycle_phase’:
- /root/tcp_tsunami.c:387: error: implicit declaration of function ‘skb_mstamp_us_delta’
- /root/tcp_tsunami.c: In function ‘bbr_reset_lt_bw_sampling_interval’:
- /root/tcp_tsunami.c:473: error: request for member ‘stamp_jiffies’ in something not a structure or union
- /root/tcp_tsunami.c: In function ‘bbr_lt_bw_sampling’:
- /root/tcp_tsunami.c:579: error: request for member ‘stamp_jiffies’ in something not a structure or union
- /root/tcp_tsunami.c: In function ‘bbr_update_min_rtt’:
- /root/tcp_tsunami.c:707: warning: passing argument 2 of ‘before’ makes integer from pointer without a cast
- ./include/net/tcp.h:299: note: expected ‘__u32’ but argument is of type ‘u32 ()(const struct tcp_sock )’
- /root/tcp_tsunami.c:712: warning: assignment makes integer from pointer without a cast
- /root/tcp_tsunami.c:738: warning: assignment makes integer from pointer without a cast
- /root/tcp_tsunami.c:745: warning: passing argument 2 of ‘before’ makes integer from pointer without a cast
- ./include/net/tcp.h:299: note: expected ‘__u32’ but argument is of type ‘u32 ()(const struct tcp_sock )’
- /root/tcp_tsunami.c:746: warning: assignment makes integer from pointer without a cast
- /root/tcp_tsunami.c: In function ‘bbr_init’:
- /root/tcp_tsunami.c:793: warning: assignment makes integer from pointer without a cast
- make[1]: *** [/root/tcp_tsunami.o] Error 1
- make: *** [_module_/root] Error 2
- make: Leaving directory `/usr/src/kernels/4.13.0-1.el6.elrepo.x86_64'
- 复制代码
Centos系统有没有魔改BBR一键包?
- make -C /lib/modules/$(uname -r)/build M=