From: Eric Dumazet Date: Sun, 17 Mar 2013 17:15:55 +0000 (+0000) Subject: netfilter: nfnetlink_queue: zero copy support X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~65^2~344^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae08ce0021087a5d812d2714fb2a326ef9f8c450;p=pandora-kernel.git 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 Signed-off-by: Pablo Neira Ayuso --- Reading git-diff-tree failed