]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - include/net/xfrm.h
net: Put flowi_* prefix on AF independent members of struct flowi
[mirror_ubuntu-artful-kernel.git] / include / net / xfrm.h
index d5dcf3974636c4417cfd66566bad2fc5762ce7ad..d5a12d10a0d424e0427e3ddd7f81c69c83028040 100644 (file)
@@ -803,7 +803,7 @@ static __inline__
 __be16 xfrm_flowi_sport(const struct flowi *fl)
 {
        __be16 port;
-       switch(fl->proto) {
+       switch(fl->flowi_proto) {
        case IPPROTO_TCP:
        case IPPROTO_UDP:
        case IPPROTO_UDPLITE:
@@ -830,7 +830,7 @@ static __inline__
 __be16 xfrm_flowi_dport(const struct flowi *fl)
 {
        __be16 port;
-       switch(fl->proto) {
+       switch(fl->flowi_proto) {
        case IPPROTO_TCP:
        case IPPROTO_UDP:
        case IPPROTO_UDPLITE: