|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] Make MTU rx check in netfront more permissive to allow f
# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 6d255ac3786cc8d3318c7ed03d68968635eaf356
# Parent 484a14acfc261b7768189162e86b391eeff09659
Make MTU rx check in netfront more permissive to allow for 8021q vlan tagging.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
diff -r 484a14acfc26 -r 6d255ac3786c
linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c
--- a/linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c Sun Mar 12
18:36:00 2006
+++ b/linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c Wed Mar 15
11:53:53 2006
@@ -830,11 +830,11 @@
}
while ((skb = __skb_dequeue(&rxq)) != NULL) {
- if (skb->len > (dev->mtu + ETH_HLEN)) {
+ if (skb->len > (dev->mtu + ETH_HLEN + 4)) {
if (net_ratelimit())
printk(KERN_INFO "Received packet too big for "
"MTU (%d > %d)\n",
- skb->len - ETH_HLEN, dev->mtu);
+ skb->len - ETH_HLEN - 4, dev->mtu);
skb->len = 0;
skb->tail = skb->data;
init_skb_shinfo(skb);
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-changelog] Make MTU rx check in netfront more permissive to allow for 8021q vlan tagging.,
Xen patchbot -3 . 0-testing <=
|
|
|
|
|