mirror of
https://github.com/torvalds/linux.git
synced 2026-09-25 21:21:09 -04:00
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 <[email protected]> Signed-off-by: Steffen Klassert <[email protected]>