|
@@ -832,7 +832,7 @@ static int verify_header(struct aa_ext *e, int required, const char **ns)
|
|
|
* if not specified use previous version
|
|
|
* Mask off everything that is not kernel abi version
|
|
|
*/
|
|
|
- if (VERSION_LT(e->version, v5) && VERSION_GT(e->version, v7)) {
|
|
|
+ if (VERSION_LT(e->version, v5) || VERSION_GT(e->version, v7)) {
|
|
|
audit_iface(NULL, NULL, NULL, "unsupported interface version",
|
|
|
e, error);
|
|
|
return error;
|