We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aade153 commit 2d26302Copy full SHA for 2d26302
fs/afs/internal.h
@@ -87,7 +87,7 @@ struct afs_addr_list {
87
enum dns_lookup_status status:8;
88
unsigned long failed; /* Mask of addrs that failed locally/ICMP */
89
unsigned long responded; /* Mask of addrs that responded */
90
- struct sockaddr_rxrpc addrs[];
+ struct sockaddr_rxrpc addrs[] __counted_by(max_addrs);
91
#define AFS_MAX_ADDRESSES ((unsigned int)(sizeof(unsigned long) * 8))
92
};
93
0 commit comments