]> 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)
commit1534efc7bbc1121e92c86c2dabebaf2c9dcece19
tree80fdde2384e7d136fc1463bfb83d1cecb8d0e77b
parent9dde130937e95b72adfae64ab21d6e7e707e2dac
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