|
@@ -154,12 +154,10 @@ static unsigned int ipv4_conntrack_defrag(unsigned int hooknum,
|
|
const struct net_device *out,
|
|
const struct net_device *out,
|
|
int (*okfn)(struct sk_buff *))
|
|
int (*okfn)(struct sk_buff *))
|
|
{
|
|
{
|
|
-#if !defined(CONFIG_IP_NF_NAT) && !defined(CONFIG_IP_NF_NAT_MODULE)
|
|
|
|
/* Previously seen (loopback)? Ignore. Do this before
|
|
/* Previously seen (loopback)? Ignore. Do this before
|
|
fragment check. */
|
|
fragment check. */
|
|
if ((*pskb)->nfct)
|
|
if ((*pskb)->nfct)
|
|
return NF_ACCEPT;
|
|
return NF_ACCEPT;
|
|
-#endif
|
|
|
|
|
|
|
|
/* Gather fragments. */
|
|
/* Gather fragments. */
|
|
if (ip_hdr(*pskb)->frag_off & htons(IP_MF | IP_OFFSET)) {
|
|
if (ip_hdr(*pskb)->frag_off & htons(IP_MF | IP_OFFSET)) {
|