Commit b801a4e7 authored by Michał Mirosław's avatar Michał Mirosław Committed by David S. Miller

net: ibmveth: force reconfiguring checksum settings on startup

Commit b9367bf3 ("net: ibmveth: convert to hw_features") accidentally
removed call to ibmveth_set_csum_offload() in ibmveth_probe(). Put the
call back where it was, but with additional error checking provided
by ibmveth_set_features().
Signed-off-by: default avatarMichał Mirosław <mirq-linux@rere.qmqm.pl>
Reported-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
[sfr: dev -> netdev]
Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 89b4208e
...@@ -1397,6 +1397,8 @@ static int __devinit ibmveth_probe(struct vio_dev *dev, ...@@ -1397,6 +1397,8 @@ static int __devinit ibmveth_probe(struct vio_dev *dev,
netdev_dbg(netdev, "registering netdev...\n"); netdev_dbg(netdev, "registering netdev...\n");
ibmveth_set_features(netdev, netdev->features);
rc = register_netdev(netdev); rc = register_netdev(netdev);
if (rc) { if (rc) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment