projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net/packet: Annotate struct packet_fanout with __counted_by
[linux-2.6-microblaze.git]
/
net
/
packet
/
internal.h
diff --git
a/net/packet/internal.h
b/net/packet/internal.h
index
63f4865
..
d29c94c
100644
(file)
--- a/
net/packet/internal.h
+++ b/
net/packet/internal.h
@@
-94,7
+94,7
@@
struct packet_fanout {
spinlock_t lock;
refcount_t sk_ref;
struct packet_type prot_hook ____cacheline_aligned_in_smp;
- struct sock __rcu *arr[];
+ struct sock __rcu *arr[]
__counted_by(max_num_members)
;
};
struct packet_rollover {