* [PATCH] backport: fix netdev destructor backport for v4.11.9
@ 2017-09-05 6:50 Luca Coelho
2017-09-06 14:52 ` Johannes Berg
0 siblings, 1 reply; 3+ messages in thread
From: Luca Coelho @ 2017-09-05 6:50 UTC (permalink / raw)
To: backports; +Cc: Luca Coelho
From: Luca Coelho <luciano.coelho@intel.com>
The patch that changed the netdev destructor code was backported to
v4.11.9, so handle that in the backport.
Change-Id: I21a64c84d1c46771d9436341537d946e5ae64c1b
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
---
backport/backport-include/linux/netdevice.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/backport/backport-include/linux/netdevice.h b/backport/backport-include/linux/netdevice.h
index d22eec2d3113..112bcf2b1c15 100644
--- a/backport/backport-include/linux/netdevice.h
+++ b/backport/backport-include/linux/netdevice.h
@@ -320,7 +320,8 @@ static inline void netif_trans_update(struct net_device *dev)
}
#endif
-#if LINUX_VERSION_IS_LESS(4,12,0)
+#if LINUX_VERSION_IS_LESS(4,12,0) && \
+ !LINUX_VERSION_IN_RANGE(4,11,9, 4,12,0)
#define netdev_set_priv_destructor(_dev, _destructor) \
(_dev)->destructor = __ ## _destructor
#define netdev_set_def_destructor(_dev) \
--
2.14.1
--
To unsubscribe from this list: send the line "unsubscribe backports" in
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] backport: fix netdev destructor backport for v4.11.9
2017-09-05 6:50 [PATCH] backport: fix netdev destructor backport for v4.11.9 Luca Coelho
@ 2017-09-06 14:52 ` Johannes Berg
2017-09-06 15:44 ` Luca Coelho
0 siblings, 1 reply; 3+ messages in thread
From: Johannes Berg @ 2017-09-06 14:52 UTC (permalink / raw)
To: Luca Coelho, backports; +Cc: Luca Coelho
On Tue, 2017-09-05 at 09:50 +0300, Luca Coelho wrote:
> From: Luca Coelho <luciano.coelho@intel.com>
>
> The patch that changed the netdev destructor code was backported to
> v4.11.9, so handle that in the backport.
Applied, since it was so obvious.
> Change-Id: I21a64c84d1c46771d9436341537d946e5ae64c1b
Without that though :)
johannes
--
To unsubscribe from this list: send the line "unsubscribe backports" in
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] backport: fix netdev destructor backport for v4.11.9
2017-09-06 14:52 ` Johannes Berg
@ 2017-09-06 15:44 ` Luca Coelho
0 siblings, 0 replies; 3+ messages in thread
From: Luca Coelho @ 2017-09-06 15:44 UTC (permalink / raw)
To: Johannes Berg, backports
On Wed, 2017-09-06 at 16:52 +0200, Johannes Berg wrote:
> On Tue, 2017-09-05 at 09:50 +0300, Luca Coelho wrote:
> > From: Luca Coelho <luciano.coelho@intel.com>
> >
> > The patch that changed the netdev destructor code was backported to
> > v4.11.9, so handle that in the backport.
>
> Applied, since it was so obvious.
>
> > Change-Id: I21a64c84d1c46771d9436341537d946e5ae64c1b
>
> Without that though :)
Oops, sorry! I learned to systematically remove those from kernel
patches, but for some reason I left it in this patch.
--
Luca.
--
To unsubscribe from this list: send the line "unsubscribe backports" in
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-09-06 15:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-05 6:50 [PATCH] backport: fix netdev destructor backport for v4.11.9 Luca Coelho
2017-09-06 14:52 ` Johannes Berg
2017-09-06 15:44 ` Luca Coelho
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox