Revert "net/ipv4: Eliminate kstrdup memory leak"

This reverts commit 2db8976c503b68ba4130ae69f240cc3b99f05a2e.