ANDROID: fix crc issue in net/ipv4/inet_fragment.c

In commit 7d0567842b ("inet: inet_defrag: prevent sk release while
still in use") a new include file is added, which messes up the crc
generation of some of the exported symbols in net/ipv4/inet_fragment.c.
Fix this up by only including it when NOT generating the crc values.

Bug: 161946584
Fixes: 7d0567842b ("inet: inet_defrag: prevent sk release while still in use")
Change-Id: Ifef668d676faed4c9b96a481807b7d000e5c39db
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
Greg Kroah-Hartman
2024-06-18 11:27:40 +00:00
parent da08c217d8
commit a28d27f66e

View File

@@ -24,7 +24,9 @@
#include <net/ip.h> #include <net/ip.h>
#include <net/ipv6.h> #include <net/ipv6.h>
#ifndef __GENKSYMS__
#include "../core/sock_destructor.h" #include "../core/sock_destructor.h"
#endif
/* Use skb->cb to track consecutive/adjacent fragments coming at /* Use skb->cb to track consecutive/adjacent fragments coming at
* the end of the queue. Nodes in the rb-tree queue will * the end of the queue. Nodes in the rb-tree queue will