]> err.no Git - linux-2.6/commit
[NETLINK]: Mirror UDP MSG_TRUNC semantics.
authorDavid S. Miller <davem@sunset.davemloft.net>
Wed, 7 Mar 2007 01:02:35 +0000 (17:02 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 26 Apr 2007 05:23:35 +0000 (22:23 -0700)
commitb558ff799977a4eda8b3823d1cf6c1c33becb671
treeb68b90c1891120e2904fd5b68d9192ef6ae74d43
parentb7aa0bf70c4afb9e38be25f5c0922498d0f8684c
[NETLINK]: Mirror UDP MSG_TRUNC semantics.

If the user passes MSG_TRUNC in via msg_flags, return
the full packet size not the truncated size.

Idea from Herbert Xu and Thomas Graf.

Signed-off-by: David S. Miller <davem@davemloft.net>
net/netlink/af_netlink.c