Getting a flu shot during pregnancy provides unanticipated benefits to the baby, according to the authors of a large population-based study examining the issue.