[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1450368442.8474.106.camel@edumazet-glaptop2.roam.corp.google.com>
Date: Thu, 17 Dec 2015 08:07:22 -0800
From: Eric Dumazet <eric.dumazet@...il.com>
To: Lorenzo Colitti <lorenzo@...gle.com>
Cc: netdev@...r.kernel.org, stephen@...workplumber.org,
zenczykowski@...il.com
Subject: Re: [iproute PATCH v2 1/2] libnetlink: add a variant of
rtnl_send_check that consumes ACKs
On Thu, 2015-12-17 at 22:22 +0900, Lorenzo Colitti wrote:
> The new variant is identical to rtnl_send_check, except it also
> consumes the kernel response instead of using MSG_PEEK. This is
> useful for callers that send simple commands that never cause a
> response but only ACKs, and that expect to receive and deal
> with errors without printing them to stderr like rtnl_talk does.
> +inline int rtnl_send_check(struct rtnl_handle *rth, const void *buf, int len)
> +{
> + return rtnl_send_check_ack(rth, buf, len, 0);
> +}
Please remove this inline attribute.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists