aboutsummaryrefslogtreecommitdiff
path: root/include/net/flow.h
diff options
context:
space:
mode:
authorEric Dumazet <dada1@cosmosbay.com>2006-10-21 20:24:01 -0700
committerDavid S. Miller <davem@davemloft.net>2006-10-21 20:24:01 -0700
commit185b1aa122f87052d9154bb74990bc785372a750 (patch)
treedb94766ebe19f43486dde50851d1286de0825105 /include/net/flow.h
parent375216ad0c303adeed45281ce82e153d41de679a (diff)
[NET]: Reduce sizeof(struct flowi) by 20 bytes.
As suggested by David, just kill off some unused fields in dnports to reduce sizef(struct flowi). If they come back, they should be moved to nl_u.dn_u in order not to enlarge again struct flowi [ Modified to really delete this stuff instead of using #if 0. -DaveM ] Signed-off-by: Eric Dumazet <dada1@cosmosbay.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/flow.h')
-rw-r--r--include/net/flow.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/net/flow.h b/include/net/flow.h
index 3b44d72b27d..5cda27cd9de 100644
--- a/include/net/flow.h
+++ b/include/net/flow.h
@@ -68,9 +68,6 @@ struct flowi {
struct {
__le16 sport;
__le16 dport;
- __u8 objnum;
- __u8 objnamel; /* Not 16 bits since max val is 16 */
- __u8 objname[16]; /* Not zero terminated */
} dnports;
__be32 spi;