Skip to content

Commit

Permalink
net: ibmveth: force reconfiguring checksum settings on startup
Browse files Browse the repository at this point in the history
Commit b9367bf ("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: Michał Mirosław <[email protected]>
Reported-by: Stephen Rothwell <[email protected]>
[sfr: dev -> netdev]
Signed-off-by: Stephen Rothwell <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
osctobe authored and davem330 committed Apr 28, 2011
1 parent 89b4208 commit b801a4e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/net/ibmveth.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit b801a4e

Please sign in to comment.