patch-2.3.14 linux/net/core/sock.c
Next file: linux/net/decnet/af_decnet.c
Previous file: linux/net/core/rtnetlink.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Wed Aug 18 11:38:48 1999
- Orig file:
v2.3.13/linux/net/core/sock.c
- Orig date:
Wed May 26 18:14:37 1999
diff -u --recursive --new-file v2.3.13/linux/net/core/sock.c linux/net/core/sock.c
@@ -318,7 +318,7 @@
if (devname[0] == '\0') {
sk->bound_dev_if = 0;
} else {
- struct device *dev = dev_get(devname);
+ struct net_device *dev = dev_get(devname);
if (!dev)
return -EINVAL;
sk->bound_dev_if = dev->ifindex;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)