mirror of
https://github.com/torvalds/linux
synced 2024-10-15 15:59:15 +00:00
b6c65eb20f
We never increment the group number iterator, so all groups
get recorded into index 0 of the mcast_groups[] array.
As a result YNL can only handle using the last group.
For example using the "netdev" sample on kernel with
page pool commands results in:
$ ./samples/netdev
YNL: Multicast group 'mgmt' not found
Most families have only one multicast group, so this hasn't
been noticed. Plus perhaps developers usually test the last
group which would have worked.
Fixes:
|
||
---|---|---|
.. | ||
.gitignore | ||
__init__.py | ||
Makefile | ||
nlspec.py | ||
ynl-priv.h | ||
ynl.c | ||
ynl.h | ||
ynl.py |