From: Pablo Neira Ayuso Date: Sat, 25 Oct 2014 16:24:57 +0000 (+0200) Subject: netfilter: nf_reject_ipv4: split nf_send_reset() in smaller functions X-Git-Tag: omap-for-v3.19/fixes-not-urgent-part1~25^2~9^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=052b9498eea532deb5de75277a53f6e0623215dc;p=pandora-kernel.git netfilter: nf_reject_ipv4: split nf_send_reset() in smaller functions That can be reused by the reject bridge expression to build the reject packet. The new functions are: * nf_reject_ip_tcphdr_get(): to sanitize and to obtain the TCP header. * nf_reject_iphdr_put(): to build the IPv4 header. * nf_reject_ip_tcphdr_put(): to build the TCP header. Signed-off-by: Pablo Neira Ayuso --- Reading git-diff-tree failed