ipv4: enable getsockopt() for IP_NODEFRAG
authorMichael Kerrisk <mtk.manpages@gmail.com>
Fri, 10 Sep 2010 20:26:56 +0000 (20:26 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Sep 2010 02:57:23 +0000 (19:57 -0700)
commita89b47639f3e11dd9a8eb78a5d3382e109c876f2
tree03e4d137f022ae1b2ec90fb4899215c4b2e1b1f3
parent7998156344b0d93de61ff8e5d75e96500e43a571
ipv4: enable getsockopt() for IP_NODEFRAG

While integrating your man-pages patch for IP_NODEFRAG, I noticed
that this option is settable by setsockopt(), but not gettable by
getsockopt(). I suppose this is not intended. The (untested,
trivial) patch below adds getsockopt() support.

Signed-off-by: Michael kerrisk <mtk.manpages@gmail.com>
Acked-by: Jiri Olsa <jolsa@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ip_sockglue.c