diff options
author | Eric Dumazet <edumazet@google.com> | 2012-05-18 05:57:13 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-05-18 01:40:27 -0400 |
commit | cbc264cacd08e51fd4a64b5d5b1ba48f523990d1 (patch) | |
tree | f51584e8a78fad165debfe1e0d01715d9f493f3b /include/net/inet_frag.h | |
parent | 28e85100ae0fd814db723aeaaa785270bf4d600d (diff) | |
download | linux-cbc264cacd08e51fd4a64b5d5b1ba48f523990d1.tar.gz linux-cbc264cacd08e51fd4a64b5d5b1ba48f523990d1.tar.bz2 linux-cbc264cacd08e51fd4a64b5d5b1ba48f523990d1.zip |
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.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/net/inet_frag.h b/include/net/inet_frag.h index 16ff29a7bb30..2431cf83aeca 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); }; |