OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ethtool: limit bitset size
[tomoyo/tomoyo-test1.git]
/
net
/
ethtool
/
bitset.h
diff --git
a/net/ethtool/bitset.h
b/net/ethtool/bitset.h
index
b8247e3
..
b849f9d
100644
(file)
--- a/
net/ethtool/bitset.h
+++ b/
net/ethtool/bitset.h
@@
-3,6
+3,8
@@
#ifndef _NET_ETHTOOL_BITSET_H
#define _NET_ETHTOOL_BITSET_H
+#define ETHNL_MAX_BITSET_SIZE S16_MAX
+
typedef const char (*const ethnl_string_array_t)[ETH_GSTRING_LEN];
int ethnl_bitset_is_compact(const struct nlattr *bitset, bool *compact);