diff options
author | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-01-17 16:15:55 -0500 |
---|---|---|
committer | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-01-17 16:15:55 -0500 |
commit | 8dea78da5cee153b8af9c07a2745f6c55057fe12 (patch) | |
tree | a8f4d49d63b1ecc92f2fddceba0655b2472c5bd9 /include/net/inet_frag.h | |
parent | 406089d01562f1e2bf9f089fd7637009ebaad589 (diff) |
Patched in Tegra support.
Diffstat (limited to 'include/net/inet_frag.h')
-rw-r--r-- | include/net/inet_frag.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/net/inet_frag.h b/include/net/inet_frag.h index 32786a04471..16ff29a7bb3 100644 --- a/include/net/inet_frag.h +++ b/include/net/inet_frag.h | |||
@@ -29,8 +29,6 @@ struct inet_frag_queue { | |||
29 | #define INET_FRAG_COMPLETE 4 | 29 | #define INET_FRAG_COMPLETE 4 |
30 | #define INET_FRAG_FIRST_IN 2 | 30 | #define INET_FRAG_FIRST_IN 2 |
31 | #define INET_FRAG_LAST_IN 1 | 31 | #define INET_FRAG_LAST_IN 1 |
32 | |||
33 | u16 max_size; | ||
34 | }; | 32 | }; |
35 | 33 | ||
36 | #define INETFRAGS_HASHSZ 64 | 34 | #define INETFRAGS_HASHSZ 64 |
@@ -48,7 +46,8 @@ struct inet_frags { | |||
48 | void *arg); | 46 | void *arg); |
49 | void (*destructor)(struct inet_frag_queue *); | 47 | void (*destructor)(struct inet_frag_queue *); |
50 | void (*skb_free)(struct sk_buff *); | 48 | void (*skb_free)(struct sk_buff *); |
51 | bool (*match)(struct inet_frag_queue *q, void *arg); | 49 | int (*match)(struct inet_frag_queue *q, |
50 | void *arg); | ||
52 | void (*frag_expire)(unsigned long data); | 51 | void (*frag_expire)(unsigned long data); |
53 | }; | 52 | }; |
54 | 53 | ||
@@ -61,7 +60,7 @@ void inet_frags_exit_net(struct netns_frags *nf, struct inet_frags *f); | |||
61 | void inet_frag_kill(struct inet_frag_queue *q, struct inet_frags *f); | 60 | void inet_frag_kill(struct inet_frag_queue *q, struct inet_frags *f); |
62 | void inet_frag_destroy(struct inet_frag_queue *q, | 61 | void inet_frag_destroy(struct inet_frag_queue *q, |
63 | struct inet_frags *f, int *work); | 62 | struct inet_frags *f, int *work); |
64 | int inet_frag_evictor(struct netns_frags *nf, struct inet_frags *f, bool force); | 63 | int inet_frag_evictor(struct netns_frags *nf, struct inet_frags *f); |
65 | struct inet_frag_queue *inet_frag_find(struct netns_frags *nf, | 64 | struct inet_frag_queue *inet_frag_find(struct netns_frags *nf, |
66 | struct inet_frags *f, void *key, unsigned int hash) | 65 | struct inet_frags *f, void *key, unsigned int hash) |
67 | __releases(&f->lock); | 66 | __releases(&f->lock); |