--- zzzz-none-000/linux-4.4.271/net/ipv4/af_inet.c 2021-06-03 06:22:09.000000000 +0000 +++ hawkeye-5590-750/linux-4.4.271/net/ipv4/af_inet.c 2023-04-19 10:22:30.000000000 +0000 @@ -121,7 +121,6 @@ #endif #include - /* The inetsw table contains everything that inet_create needs to * build a new socket. */ @@ -1322,8 +1321,8 @@ if (unlikely(ip_fast_csum((u8 *)iph, 5))) goto out_unlock; - id = ntohl(*(__be32 *)&iph->id); - flush = (u16)((ntohl(*(__be32 *)iph) ^ skb_gro_len(skb)) | (id & ~IP_DF)); + id = ntohl(net_hdr_word(&iph->id)); + flush = (u16)((ntohl(net_hdr_word(iph)) ^ skb_gro_len(skb)) | (id & ~IP_DF)); id >>= 16; for (p = *head; p; p = p->next) { @@ -1768,6 +1767,8 @@ ip_init(); + ip_input_init(); + tcp_v4_init(); /* Setup TCP slab cache for open requests. */