aboutsummaryrefslogtreecommitdiff
path: root/include/net/inet_frag.h
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2012-05-18 05:57:13 +0200
committerDavid S. Miller <davem@davemloft.net>2012-05-18 01:40:27 -0400
commitcbc264cacd08e51fd4a64b5d5b1ba48f523990d1 (patch)
treef51584e8a78fad165debfe1e0d01715d9f493f3b /include/net/inet_frag.h
parent28e85100ae0fd814db723aeaaa785270bf4d600d (diff)
ip_frag: struct inet_frags match() method returns a bool
- match() method returns a boolean - return (A && B && C && D) -> return A && B && C && D - fix indentation Signed-off-by: Eric Dumazet <edumazet@google.com>
Diffstat (limited to 'include/net/inet_frag.h')
-rw-r--r--include/net/inet_frag.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/net/inet_frag.h b/include/net/inet_frag.h
index 16ff29a7bb3..2431cf83aec 100644
--- a/include/net/inet_frag.h
+++ b/include/net/inet_frag.h
@@ -46,8 +46,7 @@ struct inet_frags {
void *arg);
void (*destructor)(struct inet_frag_queue *);
void (*skb_free)(struct sk_buff *);
- int (*match)(struct inet_frag_queue *q,
- void *arg);
+ bool (*match)(struct inet_frag_queue *q, void *arg);
void (*frag_expire)(unsigned long data);
};