Merge remote-tracking branch 'omap_dss2/for-next'
[deliverable/linux.git] / net / rxrpc / local_event.c
index bcc6593b4cdb757e2a63245e4158dfe0ab59f1d7..cdd58e6e9fbd674a2cff4f5a9fa694d475b8650a 100644 (file)
@@ -98,7 +98,7 @@ void rxrpc_process_local_events(struct rxrpc_local *local)
 
                switch (sp->hdr.type) {
                case RXRPC_PACKET_TYPE_VERSION:
-                       if (skb_copy_bits(skb, 0, &v, 1) < 0)
+                       if (skb_copy_bits(skb, sp->offset, &v, 1) < 0)
                                return;
                        _proto("Rx VERSION { %02x }", v);
                        if (v == 0)
This page took 0.028549 seconds and 5 git commands to generate.