]> git.proxmox.com Git - mirror_iproute2.git/commit - tc/f_fw.c
f_fw: fix compat mode
authorPatrick McHardy <kaber@trash.net>
Mon, 23 Nov 2009 11:03:41 +0000 (12:03 +0100)
committerStephen Hemminger <stephen.hemminger@vyatta.com>
Wed, 2 Dec 2009 00:20:01 +0000 (16:20 -0800)
commitc90308ffc74d1e20c9de9521bfe6560b6b948650
tree3a9f34c0fa12196f2f6150410143caea4d910510
parent6837f771edf49d5b19c12a2d2760234e86241c48
f_fw: fix compat mode

The kernel takes a lack of options as indication that the fw classifier
should operate in compatibility mode, where marks are mapped directly to
classids.

Commit e22b42a (tc mask patch) broke this by adding an empty TCA_OPTIONS
attribute even if no handle is specified. Restore the old behaviour.

Signed-off-by: Patrick McHardy <kaber@trash.net>
tc/f_fw.c