summaryrefslogtreecommitdiffstats
path: root/include/obj.h
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2024-03-07 13:25:31 +0100
committerPhil Sutter <phil@nwl.cc>2024-04-11 01:27:07 +0200
commit410c245e4811d7888daa456547af58d93d1c63b4 (patch)
tree2fcc85873745dfe6df575fabaa29da81c085a411 /include/obj.h
parentdf4e259c0537fff58ecdc7b3ec1546fb2da93968 (diff)
obj: Call obj_ops::set with legal attributes only
Refer to obj_ops::nftnl_max_attr field value for the maximum supported attribute value to reject invalid ones upfront. Consequently drop default cases from callbacks' switches which handle all supported attributes. Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'include/obj.h')
0 files changed, 0 insertions, 0 deletions