mbox series

[PATCHv2,iproute2,0/2] tc: fix parsing of TCA_EXT_WARN_MSG

Message ID 20230316035242.2321915-1-liuhangbin@gmail.com (mailing list archive)
Headers show
Series tc: fix parsing of TCA_EXT_WARN_MSG | expand

Message

Hangbin Liu March 16, 2023, 3:52 a.m. UTC
The TCA_EXT_WARN_MSG enum belongs to __TCA_MAX namespace. We can't use it
in tc action as it use TCA_ROOT_MAX enum. Fix it by adding a new
TCA_ROOT_EXT_WARN_MSG enum.

Hangbin Liu (2):
  Revert "tc: m_action: fix parsing of TCA_EXT_WARN_MSG"
  tc: m_action: fix parsing of TCA_EXT_WARN_MSG by using different enum

 include/uapi/linux/rtnetlink.h | 1 +
 tc/m_action.c                  | 8 +++++++-
 2 files changed, 8 insertions(+), 1 deletion(-)

Comments

Andrea Claudi March 16, 2023, 3:18 p.m. UTC | #1
On Thu, Mar 16, 2023 at 11:52:40AM +0800, Hangbin Liu wrote:
> The TCA_EXT_WARN_MSG enum belongs to __TCA_MAX namespace. We can't use it
> in tc action as it use TCA_ROOT_MAX enum. Fix it by adding a new
> TCA_ROOT_EXT_WARN_MSG enum.
> 
> Hangbin Liu (2):
>   Revert "tc: m_action: fix parsing of TCA_EXT_WARN_MSG"
>   tc: m_action: fix parsing of TCA_EXT_WARN_MSG by using different enum
> 
>  include/uapi/linux/rtnetlink.h | 1 +
>  tc/m_action.c                  | 8 +++++++-
>  2 files changed, 8 insertions(+), 1 deletion(-)
> 
> -- 
> 2.38.1
> 

Reviewed-by: Andrea Claudi <aclaudi@redhat.com>
patchwork-bot+netdevbpf@kernel.org March 19, 2023, 2:30 a.m. UTC | #2
Hello:

This series was applied to iproute2/iproute2.git (main)
by Stephen Hemminger <stephen@networkplumber.org>:

On Thu, 16 Mar 2023 11:52:40 +0800 you wrote:
> The TCA_EXT_WARN_MSG enum belongs to __TCA_MAX namespace. We can't use it
> in tc action as it use TCA_ROOT_MAX enum. Fix it by adding a new
> TCA_ROOT_EXT_WARN_MSG enum.
> 
> Hangbin Liu (2):
>   Revert "tc: m_action: fix parsing of TCA_EXT_WARN_MSG"
>   tc: m_action: fix parsing of TCA_EXT_WARN_MSG by using different enum
> 
> [...]

Here is the summary with links:
  - [PATCHv2,iproute2,1/2] Revert "tc: m_action: fix parsing of TCA_EXT_WARN_MSG"
    https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/commit/?id=0012881f3499
  - [PATCHv2,iproute2,2/2] tc: m_action: fix parsing of TCA_EXT_WARN_MSG by using different enum
    (no matching commit)

You are awesome, thank you!