Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

netfilter: xt_TPROXY: the length of lines should be within 80

According to the Documentation/CodingStyle, the length of lines should
be within 80.

Signed-off-by: Changli Gao <xiaosuo@gmail.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>

authored by

Changli Gao and committed by
Patrick McHardy
116e1f1b 8a0acaac

+4 -2
+4 -2
net/netfilter/xt_TPROXY.c
··· 37 37 return NF_DROP; 38 38 39 39 sk = nf_tproxy_get_sock_v4(dev_net(skb->dev), iph->protocol, 40 - iph->saddr, tgi->laddr ? tgi->laddr : iph->daddr, 41 - hp->source, tgi->lport ? tgi->lport : hp->dest, 40 + iph->saddr, 41 + tgi->laddr ? tgi->laddr : iph->daddr, 42 + hp->source, 43 + tgi->lport ? tgi->lport : hp->dest, 42 44 par->in, true); 43 45 44 46 /* NOTE: assign_sock consumes our sk reference */