commit | 262d8625045e0c81b7859ecd192e9811710f19da | [log] [tgz] |
---|---|---|
author | Brenden Blanco <bblanco@plumgrid.com> | Wed Jul 20 17:22:34 2016 -0700 |
committer | David S. Miller <davem@davemloft.net> | Wed Jul 20 22:07:23 2016 -0700 |
tree | 7a0d58ff3aa3c0268bb7b33e49d766745496762f | |
parent | cb7386d37eae20141cbc292a883e5e358cb5a929 [diff] |
rtnl: protect do_setlink from IFLA_XDP_ATTACHED The IFLA_XDP_ATTACHED nested attribute is meant for read-only, and while do_setlink properly ignores it, it should be more paranoid and reject commands that try to set it. Signed-off-by: Brenden Blanco <bblanco@plumgrid.com> Acked-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>