]> git.karo-electronics.de Git - linux-beck.git/commit
xfrm: Remove rebundant address family checking
authorFan Du <fan.du@windriver.com>
Tue, 6 Aug 2013 07:50:56 +0000 (15:50 +0800)
committerSteffen Klassert <steffen.klassert@secunet.com>
Wed, 7 Aug 2013 08:12:58 +0000 (10:12 +0200)
commitaf83fde7513b6c4acd869ad4fb93893704439470
tree0136f252646f3dbf95fdc0001c87bd271c1bba37
parent0659eea912cf2ce65298784b918904ba0f91f5e1
xfrm: Remove rebundant address family checking

present_and_same_family has checked addresses family validness for both
SADB_EXT_ADDRESS_SRC and SADB_EXT_ADDRESS_DST in the beginning.
Thereafter pfkey_sadb_addr2xfrm_addr doesn't need to do the checking again.

Signed-off-by: Fan Du <fan.du@windriver.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
net/key/af_key.c