Skip to contentSkip to conversation

ipv4: minor cleanup in net/ipv4/tcp_ipv4.c.

PATCH Applied Rami Rosen 3 participants 3 messages Jun 16, 2008 – Jun 17, 2008

Subsystems (3)
lore
Share & tools
lore

Rami Rosen

author
#0 lore raw

PATCH 1/2 ipv4: minor cleanup in net/ipv4/tcp_ipv4.c.

Hi,

1) Remove ICMP_MIN_LENGTH, as it is unused.

2) Remove unneeded tcp_v4_send_check() declaration.

Regards,
Rami Rosen

From d18b13f4f140b0e4bb68142b5f9cefa55841d0a1 Mon Sep 17 00:00:00 2001
From: root <root@sbc54.(none)>
Date: Mon, 16 Jun 2008 11:44:30 +0300
Subject: [PATCH 1219/1220] tcp_ipv4 cleanup

---
 net/ipv4/tcp_ipv4.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
net/ipv4/tcp_ipv4.c +0 -4
index 97a2300..12695be 100644
@@ -85,10 +85,6 @@
 int sysctl_tcp_tw_reuse __read_mostly;
 int sysctl_tcp_low_latency __read_mostly;
 
-/* Check TCP sequence numbers in ICMP packets. */
-#define ICMP_MIN_LENGTH 8
-
-void tcp_v4_send_check(struct sock *sk, int len, struct sk_buff *skb);
 
 #ifdef CONFIG_TCP_MD5SIG
 static struct tcp_md5sig_key *tcp_v4_md5_do_lookup(struct sock *sk,
Signature · 1 line
1.5.3.3