Commit
1b8ed31f changed the init_netfront() declaration. This patch fixes a
couple of calls that were overlooked for that initial commit.
Reported-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Costin Lupu <costin.lupu@cs.pub.ro>
Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
int netfront_tap_open(char *nodename) {
struct netfront_dev *dev;
- dev = init_netfront(nodename, NETIF_SELECT_RX, NULL, NULL);
+ dev = init_netfront(nodename, NETIF_SELECT_RX, NULL, NULL, NULL, NULL);
if (!dev) {
printk("TAP open failed\n");
errno = EIO;
static void netfront_thread(void *p)
{
- net_dev = init_netfront(NULL, NULL, NULL, NULL);
+ net_dev = init_netfront(NULL, NULL, NULL, NULL, NULL, NULL);
up(&net_sem);
}
#endif