summaryrefslogtreecommitdiff
path: root/staging/mops_mpls.c
diff options
context:
space:
mode:
authorVadim Kochan <vadim4j@gmail.com>2016-07-26 22:35:07 +0300
committerTobias Klauser <tklauser@distanz.ch>2016-08-02 16:11:19 +0200
commit59e69bf9106e6f085f90cb33ac7241e3ded41767 (patch)
tree95d82ae7f5205972ff8b74f7f1f4b258138d3e88 /staging/mops_mpls.c
parenta378db32a6e88a04d839bf2c2f27f62d81986186 (diff)
trafgen: proto: Reference to packet from struct proto_hdr
Using of current_packet() is not possible for dynamically updated fields so we need to keep the packet index in proto_hdr struct to reference the correct packet. Signed-off-by: Vadim Kochan <vadim4j@gmail.com> Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'staging/mops_mpls.c')
0 files changed, 0 insertions, 0 deletions
t is safe to use the state from the nfnetlink_queue module to be reused with no changes except for making it per net. The syncrhonize_rcu from nf_unregister_queue_handler is moved to a new function nfnl_queue_net_exit_batch so that the worst case of having a syncrhonize_rcu in the pernet exit path is not experienced in batch mode. Reported-by: Florian Westphal <fw@strlen.de> Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com> Acked-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat