Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1397,6 +1397,8 @@ static int __devinit ibmveth_probe(struct vio_dev *dev,

	netdev_dbg(netdev, "registering netdev...\n");

	ibmveth_set_features(netdev, netdev->features);

	rc = register_netdev(netdev);

	if (rc) {