diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2020-01-28 15:08:47 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2020-01-28 15:08:47 +0100 |
| commit | 5e48183c6ecd816e6936be60c88e35dbeb41096f (patch) | |
| tree | 4fca39fe6873ab63d84306f9b5c54df65953fc71 /tools | |
| parent | 0692a5861fb0c78c0281363cc4bce655dc9c6f5a (diff) | |
sys/linux: add ethtool netlink descriptions
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/syz-check/check.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/syz-check/check.go b/tools/syz-check/check.go index 513a0d74c..a8d1a26de 100644 --- a/tools/syz-check/check.go +++ b/tools/syz-check/check.go @@ -489,7 +489,7 @@ func checkMissingAttrs(checkedAttrs map[string]*checkAttr) []Warn { // (some of them are unused at all, however there are cases where // they are not described but used as inputs, and these are actually // the worst ones). - if !ca.attrs[i] && (pol.typ != NLA_UNSPEC || pol.len != 0) { + if !ca.attrs[i] && (pol.typ != NLA_UNSPEC && pol.typ != NLA_REJECT || pol.len != 0) { missing = append(missing, i) } } |
