[PATCH 4.14 21/99] can: add missing attribute validation for termination