X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=include%2Fnet%2Froute.h;h=eadad590142992fdcf3ae92f49a624821ec3d275;hb=5742fd77757894ebb5e441afbdac1fb666e782f7;hp=4eabf008413bfb18390fd552e88a49f4fcf44e28;hpb=0ba6c33bcddc64a54b5f1c25a696c4767dc76292;p=cascardo%2Flinux.git diff --git a/include/net/route.h b/include/net/route.h index 4eabf008413b..eadad5901429 100644 --- a/include/net/route.h +++ b/include/net/route.h @@ -27,6 +27,7 @@ #include #include #include +#include #include #include #include @@ -61,6 +62,7 @@ struct rtable struct in_device *idev; + int rt_genid; unsigned rt_flags; __u16 rt_type; @@ -149,6 +151,7 @@ static inline int ip_route_connect(struct rtable **rp, __be32 dst, int flags) { struct flowi fl = { .oif = oif, + .mark = sk->sk_mark, .nl_u = { .ip4_u = { .daddr = dst, .saddr = src, .tos = tos } },