I am curious as to what you mean by kernel level.
To unset at the command line until reboot would be:
/sbin/sysctl -w net.inet.tcp.path_mtu_discovery=0
Just like anything else You wish to auto run, Add the above command
to /etc/rc.local using your favourite text editor.
Have a Great Day!