Re: [PATCH v2] netlink: fixup regression in RTM_GETADDR

2019-01-04 Thread David Miller
From: ba...@gandi.net Date: Mon, 31 Dec 2018 02:10:58 + > From: Arthur Gautier > > This commit fixes a regression in AF_INET/RTM_GETADDR and > AF_INET6/RTM_GETADDR. > > Before this commit, the kernel would stop dumping addresses once the first > skb was full and end the stream with NLMSG_DO

Re: [PATCH v2] netlink: fixup regression in RTM_GETADDR

2019-01-02 Thread David Ahern
On 12/30/18 7:10 PM, ba...@gandi.net wrote: > From: Arthur Gautier > > This commit fixes a regression in AF_INET/RTM_GETADDR and > AF_INET6/RTM_GETADDR. > > Before this commit, the kernel would stop dumping addresses once the first > skb was full and end the stream with NLMSG_DONE(-EMSGSIZE). Th

[PATCH v2] netlink: fixup regression in RTM_GETADDR

2018-12-30 Thread baloo
From: Arthur Gautier This commit fixes a regression in AF_INET/RTM_GETADDR and AF_INET6/RTM_GETADDR. Before this commit, the kernel would stop dumping addresses once the first skb was full and end the stream with NLMSG_DONE(-EMSGSIZE). The error shouldn't be sent back to netlink_dump so the call