Patch for CONFIG_NET=n