mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
netlink: extended ACK reporting
Add the base infrastructure and UAPI for netlink extended ACK reporting. All "manual" calls to netlink_ack() pass NULL for now and thus don't get extended ACK reporting. Big thanks goes to Pablo Neira Ayuso for not only bringing up the whole topic at netconf (again) but also coming up with the nlattr passing trick and various other ideas. Signed-off-by: Johannes Berg <[email protected]> Reviewed-by: David Ahern <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
fb9eb899a6
commit
2d4bc93368
17 changed files with 153 additions and 34 deletions
|
|
@ -96,7 +96,7 @@ static unsigned int dnrmg_hook(void *priv,
|
|||
}
|
||||
|
||||
|
||||
#define RCV_SKB_FAIL(err) do { netlink_ack(skb, nlh, (err)); return; } while (0)
|
||||
#define RCV_SKB_FAIL(err) do { netlink_ack(skb, nlh, (err), NULL); return; } while (0)
|
||||
|
||||
static inline void dnrmg_receive_user_skb(struct sk_buff *skb)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue