History

netfilter: deprecate NF_STOP

NF_STOP is only used by br_netfilter these days, and it can be emulated with a combination of NF_STOLEN plus explicit call to the ->okfn() function as Florian suggests. To retain binary compatibility with userspace nf_queue application, we have to keep NF_STOP around, so libnetfilter_queue userspace userspace applications still work if they use NF_STOP for some exotic reason. Out of tree modules using NF_STOP would break, but we don't care about those.

Pablo Neira Ayuso committed 10 years ago

Commit 06fd3a31 parent 1610a733 files · +6 −4Browse files

Showing the changes to include/uapi (1 of 3 files). Show all

Unified · Split

include/uapi/linux/netfilter.h+1−1
@@ -13,7 +13,7 @@ · 12 unmodified lines
13#define NF_STOLEN 213#define NF_STOLEN 2
14#define NF_QUEUE 314#define NF_QUEUE 3
15#define NF_REPEAT 415#define NF_REPEAT 4
16#define NF_STOP 516#define NF_STOP 5 /* Deprecated, for userspace nf_queue compatibility. */
17#define NF_MAX_VERDICT NF_STOP17#define NF_MAX_VERDICT NF_STOP
18 18
19/* we overload the higher bits for encoding auxiliary data such as the queue19/* we overload the higher bits for encoding auxiliary data such as the queue

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t