net/ipv4: Introduce IPSKB_FRAG_SEGS bit to inet_skb_parm.flags
authorShmulik Ladkani <shmulik.ladkani@gmail.com>
Mon, 18 Jul 2016 11:49:33 +0000 (14:49 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Jul 2016 23:40:22 +0000 (16:40 -0700)
commit359ebda25aa06fe3a1d028f7e338a849165e661b
treef3bf5da129f7922ebd9aefd4f27c17d10934bff7
parentdfa15378bd69c6b193a483725889dd90c1a7dd48
net/ipv4: Introduce IPSKB_FRAG_SEGS bit to inet_skb_parm.flags

This flag indicates whether fragmentation of segments is allowed.

Formerly this policy was hardcoded according to IPSKB_FORWARDED (set by
either ip_forward or ipmr_forward).

Cc: Hannes Frederic Sowa <hannes@stressinduktion.org>
Cc: Florian Westphal <fw@strlen.de>
Signed-off-by: Shmulik Ladkani <shmulik.ladkani@gmail.com>
Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ip.h
net/ipv4/ip_forward.c
net/ipv4/ip_output.c
net/ipv4/ipmr.c