commit | b06d072ccc4b1acd0147b17914b7ad1caa1818bb | [log] [tgz] |
---|---|---|
author | Willem de Bruijn <willemb@google.com> | Sun Mar 22 13:51:13 2020 -0400 |
committer | David S. Miller <davem@davemloft.net> | Mon Mar 23 21:34:59 2020 -0700 |
tree | 935503ae935ebc291e8da754cbfb1929a33bd415 | |
parent | 55b474c41e586a5c21c7ab81ff474eb6bacb4322 [diff] |
macsec: restrict to ethernet devices Only attach macsec to ethernet devices. Syzbot was able to trigger a KMSAN warning in macsec_handle_frame by attaching to a phonet device. Macvlan has a similar check in macvlan_port_create. v1->v2 - fix commit message typo Reported-by: syzbot <syzkaller@googlegroups.com> Signed-off-by: Willem de Bruijn <willemb@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>