]> git.baikalelectronics.ru Git - kernel.git/commit
net: ieee802154: stop dump llsec params for monitors
authorAlexander Aring <aahringo@redhat.com>
Mon, 5 Apr 2021 00:30:54 +0000 (20:30 -0400)
committerStefan Schmidt <stefan@datenfreihafen.org>
Tue, 6 Apr 2021 20:34:38 +0000 (22:34 +0200)
commitf55fa245290e84d2cdd808315a9df48c3b2c28f0
tree80fdde2384e7d136fc1463bfb83d1cecb8d0e77b
parent4bcf90685cfb59172db4b6cfe37944210593dcfc
net: ieee802154: stop dump llsec params for monitors

This patch stops dumping llsec params for monitors which we don't support
yet. Otherwise we will access llsec mib which isn't initialized for
monitors.

Reported-by: syzbot+cde43a581a8e5f317bc2@syzkaller.appspotmail.com
Signed-off-by: Alexander Aring <aahringo@redhat.com>
Link: https://lore.kernel.org/r/20210405003054.256017-16-aahringo@redhat.com
Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
net/ieee802154/nl802154.c