selftests/net: optmem_max became per netns

/proc/sys/net/core/optmem_max is now per netns, change two tests
that were saving/changing/restoring its value on the parent netns.

cos-patch: bug
Change-Id: Idacd74a41133cbb849cca0d608a02dcad97da92b
Signed-off-by: Eric Dumazet <[email protected]>
Reviewed-by: Willem de Bruijn <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
(cherry picked from commit 18872ba8cd2406ffa835f9f6276e47ed86fbb5d6)
Reviewed-on: https://cos-review.googlesource.com/c/third_party/kernel/+/62584
Tested-by: Mina Almasry <[email protected]>
(cherry picked from commit 128a8bec61acef84adf608afa8590c0a81692796)
Reviewed-on: https://cos-review.googlesource.com/c/third_party/kernel/+/62741
Reviewed-by: Oleksandr Tymoshenko <[email protected]>
Main-Branch-Verified: Cusky Presubmit Bot <[email protected]>
Reviewed-by: Neal Cardwell <[email protected]>
Tested-by: Cusky Presubmit Bot <[email protected]>
1 file changed