|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH Netchannel2 2/2] set skb->dev
Set skb->dev when we allocate a vmq skb. Fixes an oops when calling
vmq_free_skb()
Signed-off-by: Mitch Williams <mitch.a.williams@xxxxxxxxx>
diff -r d3803cba4ed9 drivers/xen/netchannel2/vmq.c
--- a/drivers/xen/netchannel2/vmq.c Wed Jan 07 13:31:06 2009 +0000
+++ b/drivers/xen/netchannel2/vmq.c Mon Jan 12 14:25:43 2009 -0800
@@ -659,6 +659,7 @@
skb_shinfo(skb)->frags[i].page_offset = 0;
skb_shinfo(skb)->frags[i].size = PAGE_SIZE;
skb_shinfo(skb)->nr_frags++;
+ skb->dev = netdevice;
cons++;
}
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] [PATCH Netchannel2 2/2] set skb->dev,
Mitch Williams <=
|
|
|
|
|