Sharks defenseman Erik Karlsson has undergone groin surgery before becoming eligible for free agency this summer.

The Sharks said Wednesday that Karlsson had the operation last week and has already started rehabilitation. The team says Karlsson is expected to recover