netfilter: extensions: don't add nat by default
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | netfilter: masquerade: attach nat extension if not presentnet/ net/ | +7 | 0 replies | |
| 2/3 | netfilter: pptp: attach nat extension when needednet/ net/ | +31 | 0 replies | |
| 3/3 | netfilter: don't attach a nat extension by defaultinclude/ net/ net/ +1 more | +3 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH nf-next 0/3] netfilter: extensions: don't add nat by default
The nat extension only holds information needed by pptp and the masquerade target (and in the latter case its not essential), so no need to attach it by default.
First two patches add the nat extension in masquerade and pptp case, 3rd patch gets rid of the default-add.
This saves 8 bytes in the extension blob unless a connection is subject to MASQERUADE and/or pptp nat helper.