Skip to content

add headerfile for tcp_v6_check use#80

Closed
axkum10 wants to merge 1 commit intoPlatformLab:rhel8from
axkum10:rhel8
Closed

add headerfile for tcp_v6_check use#80
axkum10 wants to merge 1 commit intoPlatformLab:rhel8from
axkum10:rhel8

Conversation

@axkum10
Copy link
Copy Markdown

@axkum10 axkum10 commented Apr 14, 2026

Hello John,

I added a header file to solve below compilation error.

  CC [M]  /home/dc-user/homa/HomaModule/homa_outgoing.o
In file included from /home/dc-user/homa/HomaModule/homa_outgoing.c:13:
/home/dc-user/homa/HomaModule/homa_hijack.h: In function ‘homa_hijack_set_hdr’:
/home/dc-user/homa/HomaModule/homa_hijack.h:68:18: error: implicit declaration of function ‘tcp_v6_check’; did you mean ‘tcp_v4_check’? [-Werror=implicit-function-declaration]
   h->checksum = ~tcp_v6_check(skb->len, &peer->flow.u.ip6.saddr,
                  ^~~~~~~~~~~~
                  tcp_v4_check
cc1: some warnings being treated as errors

Thanks

@johnousterhout
Copy link
Copy Markdown
Member

Thanks for pointing this out. I'm going to fix it a slightly different way (there is a different function to use in older versions of Linux), which will match what is in the linux_4.18.0 branch.

johnousterhout added a commit that referenced this pull request Apr 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants