summaryrefslogtreecommitdiffstats
path: root/net/netfilter/nf_conntrack_core.c
diff options
context:
space:
mode:
authorEric Dumazet2013-03-17 18:15:55 +0100
committerPablo Neira Ayuso2013-03-19 17:02:24 +0100
commitae08ce0021087a5d812d2714fb2a326ef9f8c450 (patch)
tree800cbac2e233a3ec3936e3baa6f38e65f4b3ea1d /net/netfilter/nf_conntrack_core.c
parentnetfilter: ctnetlink: allow to dump expectation per master conntrack (diff)
downloadkernel-qcow2-linux-ae08ce0021087a5d812d2714fb2a326ef9f8c450.tar.gz
kernel-qcow2-linux-ae08ce0021087a5d812d2714fb2a326ef9f8c450.tar.xz
kernel-qcow2-linux-ae08ce0021087a5d812d2714fb2a326ef9f8c450.zip
netfilter: nfnetlink_queue: zero copy support
nfqnl_build_packet_message() actually copy the packet inside the netlink message, while it can instead use zero copy. Make sure the skb 'copy' is the last component of the cooked netlink message, as we cant add anything after it. Patch cooked in Copenhagen at Netfilter Workshop ;) Still to be addressed in separate patches : -GRO/GSO packets are segmented in nf_queue() and checksummed in nfqnl_build_packet_message(). Proper support for GSO/GRO packets (no segmentation, and no checksumming) needs application cooperation, if we want no regressions. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter/nf_conntrack_core.c')
0 files changed, 0 insertions, 0 deletions