Author: imp Date: Thu May 10 20:27:12 2018 New Revision: 333471 URL: https://svnweb.freebsd.org/changeset/base/333471
Log: Revert r333365 Even though we don't use it, it appears something else requires it to be != 0 to work. This breaks tftp boot in loader.efi, so revert until that can be sorted out. Modified: head/stand/common/dev_net.c Modified: head/stand/common/dev_net.c ============================================================================== --- head/stand/common/dev_net.c Thu May 10 20:10:02 2018 (r333470) +++ head/stand/common/dev_net.c Thu May 10 20:27:12 2018 (r333471) @@ -190,6 +190,7 @@ net_open(struct open_file *f, ...) } netdev_opens++; + f->f_devdata = &netdev_sock; return (error); } @@ -201,6 +202,9 @@ net_close(struct open_file *f) if (debug) printf("net_close: opens=%d\n", netdev_opens); #endif + + f->f_devdata = NULL; + return (0); } _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"