[XFRM]: Introduce a helper to compare id protocol.
commit5794708f11551b6d19b10673abf4b0202f66b44d
authorMasahide NAKAMURA <nakam@linux-ipv6.org>
Fri, 22 Sep 2006 22:06:24 +0000 (22 15:06 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 22 Sep 2006 22:06:24 +0000 (22 15:06 -0700)
tree60d954e185dd80af7e6c08608fd0528cf21a5d41
parent7e49e6de30efa716614e280d97963c570f3acf29
[XFRM]: Introduce a helper to compare id protocol.

Put the helper to header for future use.
Based on MIPL2 kernel patch.

Signed-off-by: Masahide NAKAMURA <nakam@linux-ipv6.org>
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/xfrm.h
net/xfrm/xfrm_state.c