Error inserting vboxnetflt – Invalid module format

This has been plaguing me for a week or so and I’ve really been too lazy/busy to look into it properly.
Essentially my XP virtual machine (need it to run photoshop) running on Oracle Virtualbox has no net connection as vboxnetfilt would not load.

The culprit ended up being the virtualbox-guest-additions package as when I run

modprobe -v vboxnetflt

it showed up:-

# insmod /lib/modules/2.6.37-sabayon/misc/vboxguest.ko
# WARNING: Error inserting vboxguest (/lib/modules/2.6.37-sabayon/misc/vboxguest.ko): Invalid module format
# FATAL: Error inserting vboxnetflt (/lib/modules/2.6.37-sabayon/misc/vboxnetflt.ko): Invalid module format

I had to remove virtualbox-guest-additions and reinstall virtualbox-modules and now all is working perfectly!