From: Pablo Neira Ayuso Date: Sun, 26 Oct 2014 11:35:54 +0000 (+0100) Subject: netfilter: nf_reject_ipv6: split nf_send_reset6() in smaller functions X-Git-Tag: omap-for-v3.19/fixes-not-urgent-part1~25^2~9^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8bfcdf6671b1c8006c52c3eaf9fd1b5dfcf41c3d;p=pandora-kernel.git netfilter: nf_reject_ipv6: split nf_send_reset6() in smaller functions That can be reused by the reject bridge expression to build the reject packet. The new functions are: * nf_reject_ip6_tcphdr_get(): to sanitize and to obtain the TCP header. * nf_reject_ip6hdr_put(): to build the IPv6 header. * nf_reject_ip6_tcphdr_put(): to build the TCP header. Signed-off-by: Pablo Neira Ayuso --- Reading git-diff-tree failed