diff options
author | Martin Schiller <ms@dev.tdt.de> | 2020-02-05 08:12:54 +0100 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2020-02-22 16:38:41 +0100 |
commit | 54e39ddc2e0de0b5af45a8ba4349263410c4d5d8 (patch) | |
tree | b873dee11fbcd318c5862e7be1ff40a1cfd869b5 /target/linux/generic | |
parent | 53470bdf3212136df06a26d33377059eb56b09eb (diff) | |
download | upstream-54e39ddc2e0de0b5af45a8ba4349263410c4d5d8.tar.gz upstream-54e39ddc2e0de0b5af45a8ba4349263410c4d5d8.tar.bz2 upstream-54e39ddc2e0de0b5af45a8ba4349263410c4d5d8.zip |
kernel: fix xt_connmark.h
Commit a1cfe0dcbb24 (kernel: connmark set-dscpmark follow upstreamimg
attempt") broke the usage of xt_connmark.h in user-space (e.g.
strongswan), because the BIT() macro is unknown there.
Fixes: a1cfe0dcbb24 (kernel: connmark set-dscpmark follow upstreamimg attempt")
Signed-off-by: Martin Schiller <ms@dev.tdt.de>
Diffstat (limited to 'target/linux/generic')
-rw-r--r-- | target/linux/generic/hack-4.19/645-netfilter-connmark-introduce-set-dscpmark.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/generic/hack-4.19/645-netfilter-connmark-introduce-set-dscpmark.patch b/target/linux/generic/hack-4.19/645-netfilter-connmark-introduce-set-dscpmark.patch index a4f246d112..ca98187059 100644 --- a/target/linux/generic/hack-4.19/645-netfilter-connmark-introduce-set-dscpmark.patch +++ b/target/linux/generic/hack-4.19/645-netfilter-connmark-introduce-set-dscpmark.patch @@ -87,8 +87,8 @@ Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk> }; enum { -+ XT_CONNMARK_VALUE = BIT(0), -+ XT_CONNMARK_DSCP = BIT(1) ++ XT_CONNMARK_VALUE = (1 << 0), ++ XT_CONNMARK_DSCP = (1 << 1) +}; + +enum { |