flow->priority = flow->key.wildcards ? ntohs(ofm->priority) : -1;
flow->idle_timeout = ntohs(ofm->idle_timeout);
flow->hard_timeout = ntohs(ofm->hard_timeout);
- flow->used = jiffies;
- flow->init_time = jiffies;
+ flow->used = flow->created = get_jiffies_64();
flow->byte_count = 0;
flow->packet_count = 0;
+ flow->tcp_flags = 0;
+ flow->ip_tos = 0;
spin_lock_init(&flow->lock);
memcpy(flow->sf_acts->actions, ofm->actions, actions_len);
return nx_recv_msg(chain, sender, msg);
default:
if (net_ratelimit())
- printk("Uknown vendor: %#x\n", ntohl(ovh->vendor));
+ printk("unknown vendor: 0x%x\n", ntohl(ovh->vendor));
dp_send_error_msg(chain->dp, sender, OFPET_BAD_REQUEST,
OFPBRC_BAD_VENDOR, msg, ntohs(ovh->header.length));
return -EINVAL;