diff options
| author | Alexey Kuznetsov <kuznet@ms2.inr.ac.ru> | 2003-03-19 03:43:44 -0800 |
|---|---|---|
| committer | David S. Miller <davem@nuts.ninka.net> | 2003-03-19 03:43:44 -0800 |
| commit | cd931326e4732c76fb6452b6b1835321d6f564ed (patch) | |
| tree | 111fd9eda7fb68212f4d3fd153e45421a2dcbdbb /include/linux | |
| parent | 689827f084b4f7bf53d98148288226470631a773 (diff) | |
[NET]: miscellaneous fixes.
1. Fix illegal dereference of potentially freed memory in xfrm_policy.c
2. Complete wildcard flow addresses to real ones in xfrm_lookup().
3. Respect optional flag when chacking for input policy.
4. Delete orphaned comments in ip.h.
5. Fix mistakedly freed route in tcp connect.
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/ip.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/linux/ip.h b/include/linux/ip.h index f655ce138e78..1c26df3103a8 100644 --- a/include/linux/ip.h +++ b/include/linux/ip.h @@ -18,8 +18,6 @@ #define _LINUX_IP_H #include <asm/byteorder.h> -/* SOL_IP socket options */ - #define IPTOS_TOS_MASK 0x1E #define IPTOS_TOS(tos) ((tos)&IPTOS_TOS_MASK) #define IPTOS_LOWDELAY 0x10 @@ -67,14 +65,6 @@ #define MAXTTL 255 #define IPDEFTTL 64 -/* struct timestamp, struct route and MAX_ROUTES are removed. - - REASONS: it is clear that nobody used them because: - - MAX_ROUTES value was wrong. - - "struct route" was wrong. - - "struct timestamp" had fatally misaligned bitfields and was completely unusable. - */ - #define IPOPT_OPTVAL 0 #define IPOPT_OLEN 1 #define IPOPT_OFFSET 2 |
