Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 224748
b: refs/heads/master
c: dca9b24
h: refs/heads/master
v: v3
  • Loading branch information
Shan Wei authored and David S. Miller committed Dec 2, 2010
1 parent eb791ff commit a8e8f94
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 17 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b672083ed36a49c323737b7c7e1d5264a7c193af
refs/heads/master: dca9b2404a6d6579828da2425c051462701efd3f
2 changes: 0 additions & 2 deletions trunk/include/net/addrconf.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#ifndef _ADDRCONF_H
#define _ADDRCONF_H

#define RETRANS_TIMER HZ

#define MAX_RTR_SOLICITATIONS 3
#define RTR_SOLICITATION_INTERVAL (4*HZ)

Expand Down
1 change: 0 additions & 1 deletion trunk/include/net/ip6_route.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

#define IP6_RT_PRIO_USER 1024
#define IP6_RT_PRIO_ADDRCONF 256
#define IP6_RT_PRIO_KERN 512

struct route_info {
__u8 type;
Expand Down
3 changes: 0 additions & 3 deletions trunk/include/net/ndisc.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@ enum {
#define ND_REACHABLE_TIME (30*HZ)
#define ND_RETRANS_TIMER HZ

#define ND_MIN_RANDOM_FACTOR (1/2)
#define ND_MAX_RANDOM_FACTOR (3/2)

#ifdef __KERNEL__

#include <linux/compiler.h>
Expand Down
1 change: 0 additions & 1 deletion trunk/include/net/snmp.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ struct ipstats_mib {
};

/* ICMP */
#define ICMP_MIB_DUMMY __ICMP_MIB_MAX
#define ICMP_MIB_MAX __ICMP_MIB_MAX
struct icmp_mib {
unsigned long mibs[ICMP_MIB_MAX];
Expand Down
3 changes: 0 additions & 3 deletions trunk/include/net/sock.h
Original file line number Diff line number Diff line change
Expand Up @@ -516,9 +516,6 @@ static __inline__ void sk_add_bind_node(struct sock *sk,
#define sk_nulls_for_each_from(__sk, node) \
if (__sk && ({ node = &(__sk)->sk_nulls_node; 1; })) \
hlist_nulls_for_each_entry_from(__sk, node, sk_nulls_node)
#define sk_for_each_continue(__sk, node) \
if (__sk && ({ node = &(__sk)->sk_node; 1; })) \
hlist_for_each_entry_continue(__sk, node, sk_node)
#define sk_for_each_safe(__sk, node, tmp, list) \
hlist_for_each_entry_safe(__sk, node, tmp, list, sk_node)
#define sk_for_each_bound(__sk, node, list) \
Expand Down
6 changes: 0 additions & 6 deletions trunk/include/net/tcp.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,6 @@ extern void tcp_time_wait(struct sock *sk, int state, int timeo);
#define TCP_SYNACK_RETRIES 5 /* number of times to retry passive opening a
* connection: ~180sec is RFC minimum */


#define TCP_ORPHAN_RETRIES 7 /* number of times to retry on an orphaned
* socket. 7 is ~50sec-16min.
*/


#define TCP_TIMEWAIT_LEN (60*HZ) /* how long to wait to destroy TIME-WAIT
* state, about 60 seconds */
#define TCP_FIN_TIMEOUT TCP_TIMEWAIT_LEN
Expand Down

0 comments on commit a8e8f94

Please sign in to comment.