diff --git a/net/smc/smc_core.c b/net/smc/smc_core.c index b42fa3b00d00ae3507efe577fe1cfd5a6abf522b..a6ac0eb20c99e9a276f34d7a7faeae1f1100ebcf 100644 --- a/net/smc/smc_core.c +++ b/net/smc/smc_core.c @@ -1356,6 +1356,8 @@ int smc_conn_create(struct smc_sock *smc, struct smc_init_info *ini) if (ini->is_smcd) { conn->rx_off = sizeof(struct smcd_cdc_msg); smcd_cdc_rx_init(conn); /* init tasklet for this conn */ + } else { + conn->rx_off = 0; } #ifndef KERNEL_HAS_ATOMIC64 spin_lock_init(&conn->acurs_lock);