[ 3.5.y.z extended stable ] Patch "net: use netdev_features_t in skb_needs_linearize()" has been added to staging queue

Luis Henriques luis.henriques at canonical.com
Fri May 17 09:15:47 UTC 2013


This is a note to let you know that I have just added a patch titled

    net: use netdev_features_t in skb_needs_linearize()

to the linux-3.5.y-queue branch of the 3.5.y.z extended stable tree 
which can be found at:

 http://kernel.ubuntu.com/git?p=ubuntu/linux.git;a=shortlog;h=refs/heads/linux-3.5.y-queue

If you, or anyone else, feels it should not be added to this tree, please 
reply to this email.

For more information about the 3.5.y.z tree, see
https://wiki.ubuntu.com/Kernel/Dev/ExtendedStable

Thanks.
-Luis

------

>From 258d474ee6056d0a6e867f7251da95c6c4de2029 Mon Sep 17 00:00:00 2001
From: Patrick McHardy <kaber at trash.net>
Date: Wed, 1 May 2013 22:36:49 +0000
Subject: [PATCH] net: use netdev_features_t in skb_needs_linearize()

commit 6708c9e5cc9bfc7c9a00ce9c0fdd0b1d4952b3d1 upstream.

Signed-off-by: Patrick McHardy <kaber at trash.net>
Signed-off-by: David S. Miller <davem at davemloft.net>
Signed-off-by: Luis Henriques <luis.henriques at canonical.com>
---
 net/core/dev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/core/dev.c b/net/core/dev.c
index ba9d7a7..a0eaa60 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -2168,7 +2168,7 @@ EXPORT_SYMBOL(netif_skb_features);
  *	   support DMA from it.
  */
 static inline int skb_needs_linearize(struct sk_buff *skb,
-				      int features)
+				      netdev_features_t features)
 {
 	return skb_is_nonlinear(skb) &&
 			((skb_has_frag_list(skb) &&
--
1.8.1.2





More information about the kernel-team mailing list