forked from torvalds/linux
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net, ipv6, lwtunnel: add and use LWTUNNEL_IP6_FLAGS_BITMAP attribute
Add the ability to pass 64-bit IPv6 tunnel flags in IP tunnel core code between the userspace and the kernel. On receiving, the new attribute is preferred, the old 16-bit one is being read only if the new one is not present. On sending, there's no other options other than sending both of them, so that both old and new userspace programs could work properly. Signed-off-by: Alexander Lobakin <alexandr.lobakin@intel.com>
- Loading branch information
Showing
2 changed files
with
22 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters