Skip to content

typeof fixes

Florian Westphal netfilter-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ipopt: drop unused 'ptr' argumentinclude/ipopt.h src/ipopt.c src/parser_bison.y +1 more+7 -260 replies
2/3exthdr: support ip/tcp options and sctp chunks in typeof expressionssrc/exthdr.c tests/shell/testcases/sets/dumps/typeof_sets_0.nft tests/shell/testcases/sets/typeof_sets_0+94 -70 replies
3/3iptopt: fix crash with invalid field/type combosrc/expression.c src/ipopt.c src/parser_bison.y +1 more+18 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH nft 0/3] typeof fixes

First patch removes unused code fropm ipopt.
Second patch adds missing udata support for tcp/ip options and sctp chunks.
Third patch fixes a crash in nft describe.

 include/ipopt.h                                    |  2 +-
 src/expression.c                                   |  8 ++--
 src/exthdr.c                                       | 47 ++++++++++++++++++----
 src/ipopt.c                                        | 26 +++---------
 src/parser_bison.y                                 |  8 +++-
 src/parser_json.c                                  |  4 +-
 tests/shell/testcases/parsing/describe             |  7 ++++
 tests/shell/testcases/sets/dumps/typeof_sets_0.nft | 27 +++++++++++++
 tests/shell/testcases/sets/typeof_sets_0           | 27 +++++++++++++
 9 files changed, 119 insertions(+), 37 deletions(-)