IPVS enhancement for v3.12

* NULL pointer check in ip_vs_sh_get_port()
  - This sounds worse than it is, it seems to be only a theoretical problem

* Whitepsace cleanup
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAABAgAGBQJSAgcEAAoJENfPZGlqN0++Ad0QAI6zY/39WSLA/Y1qT49Gq1L0
EYctdIXLLiRYZZwWnW0f19AzC03vRP7MC3qQjWRUcOeFrtU6I3e2qHDEVOhfcwAN
aOL1kyeU1hyYMXKJNExl9cQnn7RGQyZsyrJ/X4nJZoAx2GkYJtcLG8IVn+DakKPf
8nraWBxv34fwo4eDaCmX42RCl2onnYezuSmlmeYUnX45WOIrjJkTNFdC3XWFwMJi
GGizOJXdZwi+mgCPtfUOyLJrdt8rS6QVYA+l8e0Qx7AJxXZyjhSi/3tdjVbR5xvf
XneguXEa6xQ9qOgdknHj+4kdT6wlbVpOBw+ZD7+wCHRvwQENGOMZYOeJ/LgqrY/L
DLmMh/o/Wzf0tm/6d0LJr3+UDJXptPElmHfSLH5Oc+8Q7v2Rjzkz/VUyEnc5NaY2
oYTZ8Oc2/9LHi0ZCaXr7aFBQg+tbcLCUNUqLbmgncX/bQQHT8wGCsho4+oM+52tl
MhAZ/46MeyLnD43mSaxfr25BW3fgj1+tiLeBwC7zGKu/Q15uk74Yr4/7gpfrc5Pk
U2fIhf8nRj8CFPoIe+6fau66peTCXminiAs8W2jfQumkOTb61+BJMkFUdxR4DR9J
an+m6vTgSo7qf3wDpaiDrn4N70a66am+vNSUcme2PTWA0BXBavBpscWlkdMI1z6L
n9vinAQNqkZqx971eHLe
=sp2U
-----END PGP SIGNATURE-----
ipvs: ip_vs_sh: ip_vs_sh_get_port: check skb_header_pointer for NULL

skb_header_pointer could return NULL, so check for it as we do it
everywhere else in ipvs code. This fixes a coverity warning.

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Acked-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Simon Horman <horms@verge.net.au>
1 file changed