Skip to content

Commit

Permalink
Merge pull request torvalds#191 from libos-nuse/fix-tap-offload
Browse files Browse the repository at this point in the history
  • Loading branch information
thehajime authored Aug 4, 2016
2 parents 0a9e7c4 + 9219262 commit 28ce8a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/lkl/lib/hijack/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,6 @@ hijack_init(void)
" please use LKL_HIJACK_NET_IFTYPE and "
"LKL_HIJACK_NET_IFPARAMS instead.\n");
nd = lkl_netdev_tap_create(tap, offload);
nd_args.offload = offload;
}

if (!nd && iftype && ifparams) {
Expand Down Expand Up @@ -335,6 +334,7 @@ hijack_init(void)
nd_args.mac = NULL;
}

nd_args.offload = offload;
ret = lkl_netdev_add(nd, &nd_args);

if (ret < 0) {
Expand Down

0 comments on commit 28ce8a3

Please sign in to comment.