Searched hist:"6 e9c0075409d4ec1bc63558ee5a93916a6d7d16f" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/net/ncsi/ |
H A D | internal.h | diff 6e9c0075409d4ec1bc63558ee5a93916a6d7d16f Wed Oct 11 00:54:27 CDT 2017 Samuel Mendoza-Jonas <sam@mendozajonas.com> net/ncsi: Don't limit vids based on hot_channel
Currently we drop any new VLAN ids if there are more than the current (or last used) channel can support. Most importantly this is a problem if no channel has been selected yet, resulting in a segfault.
Secondly this does not necessarily reflect the capabilities of any other channels. Instead only drop a new VLAN id if we are already tracking the maximum allowed by the NCSI specification. Per-channel limits are already handled by ncsi_add_filter(), but add a message to set_one_vid() to make it obvious that the channel can not support any more VLAN ids.
Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | ncsi-manage.c | diff 6e9c0075409d4ec1bc63558ee5a93916a6d7d16f Wed Oct 11 00:54:27 CDT 2017 Samuel Mendoza-Jonas <sam@mendozajonas.com> net/ncsi: Don't limit vids based on hot_channel
Currently we drop any new VLAN ids if there are more than the current (or last used) channel can support. Most importantly this is a problem if no channel has been selected yet, resulting in a segfault.
Secondly this does not necessarily reflect the capabilities of any other channels. Instead only drop a new VLAN id if we are already tracking the maximum allowed by the NCSI specification. Per-channel limits are already handled by ncsi_add_filter(), but add a message to set_one_vid() to make it obvious that the channel can not support any more VLAN ids.
Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|