Message ID | 4B235AA2.1040608@free.fr |
---|---|
State | Changes Requested, archived |
Delegated to: | David Miller |
Headers | show |
From: Bernard Pidoux <bpidoux@free.fr> Date: Sat, 12 Dec 2009 09:56:02 +0100 > [PATCH] rose_loopback_timer VC number <= ROSE_DEFAULT_MAXVC Please see Documentation/SubmittingPatches, you need to provide a proper "Signed-off-by:" line with your submission etc. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
--- a/net/rose/rose_loopback.c 2009-12-03 04:51:21.000000000 +0100 +++ b/net/rose/rose_loopback.c 2009-12-06 23:17:02.267741413 +0100 @@ -75,7 +75,7 @@ lci_i = ((skb->data[0] << 8) & 0xF00) + ((skb->data[1] << 0) & 0x0FF); frametype = skb->data[2]; dest = (rose_address *)(skb->data + 4); - lci_o = 0xFFF - lci_i; + lci_o = ROSE_DEFAULT_MAXVC + 1 - lci_i; skb_reset_transport_header(skb);