diff options
| -rw-r--r-- | net/ipv4/netfilter/iptable_filter.c | 3 | ||||
| -rw-r--r-- | net/ipv4/netfilter/iptable_mangle.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/net/ipv4/netfilter/iptable_filter.c b/net/ipv4/netfilter/iptable_filter.c index ea14979d8a82..4f51c1d7d2d6 100644 --- a/net/ipv4/netfilter/iptable_filter.c +++ b/net/ipv4/netfilter/iptable_filter.c | |||
| @@ -81,7 +81,8 @@ ipt_local_out_hook(unsigned int hook, | |||
| 81 | if ((*pskb)->len < sizeof(struct iphdr) | 81 | if ((*pskb)->len < sizeof(struct iphdr) |
| 82 | || ip_hdrlen(*pskb) < sizeof(struct iphdr)) { | 82 | || ip_hdrlen(*pskb) < sizeof(struct iphdr)) { |
| 83 | if (net_ratelimit()) | 83 | if (net_ratelimit()) |
| 84 | printk("ipt_hook: happy cracking.\n"); | 84 | printk("iptable_filter: ignoring short SOCK_RAW " |
| 85 | "packet.\n"); | ||
| 85 | return NF_ACCEPT; | 86 | return NF_ACCEPT; |
| 86 | } | 87 | } |
| 87 | 88 | ||
diff --git a/net/ipv4/netfilter/iptable_mangle.c b/net/ipv4/netfilter/iptable_mangle.c index c3827bae3b66..902446f7cbca 100644 --- a/net/ipv4/netfilter/iptable_mangle.c +++ b/net/ipv4/netfilter/iptable_mangle.c | |||
| @@ -100,7 +100,8 @@ ipt_local_hook(unsigned int hook, | |||
| 100 | if ((*pskb)->len < sizeof(struct iphdr) | 100 | if ((*pskb)->len < sizeof(struct iphdr) |
| 101 | || ip_hdrlen(*pskb) < sizeof(struct iphdr)) { | 101 | || ip_hdrlen(*pskb) < sizeof(struct iphdr)) { |
| 102 | if (net_ratelimit()) | 102 | if (net_ratelimit()) |
| 103 | printk("ipt_hook: happy cracking.\n"); | 103 | printk("iptable_mangle: ignoring short SOCK_RAW " |
| 104 | "packet.\n"); | ||
| 104 | return NF_ACCEPT; | 105 | return NF_ACCEPT; |
| 105 | } | 106 | } |
| 106 | 107 | ||
