X-Git-Url: http://ftp.safe.ca/?a=blobdiff_plain;f=net%2Fipv6%2Fndisc.c;h=419d65163819e573c39a4a9d792837587bb7ed62;hb=e0a1ad73d34fd6dfdb630479400511e9879069c0;hp=dfa20d3be9b69ec23db998c2e5268e38ab60a41a;hpb=09c884d4c3b45cda904c2291d4723074ff523611;p=safe%2Fjmp%2Flinux-2.6 diff --git a/net/ipv6/ndisc.c b/net/ipv6/ndisc.c index dfa20d3..419d651 100644 --- a/net/ipv6/ndisc.c +++ b/net/ipv6/ndisc.c @@ -48,7 +48,6 @@ #endif #include -#include #include #include #include @@ -63,6 +62,7 @@ #include #endif +#include #include #include #include @@ -420,6 +420,7 @@ static inline void ndisc_flow_init(struct flowi *fl, u8 type, fl->proto = IPPROTO_ICMPV6; fl->fl_icmp_type = type; fl->fl_icmp_code = 0; + security_sk_classify_flow(ndisc_socket->sk, fl); } static void ndisc_send_na(struct net_device *dev, struct neighbour *neigh, @@ -960,7 +961,7 @@ static void ndisc_recv_na(struct sk_buff *skb) struct rt6_info *rt; rt = rt6_get_dflt_router(saddr, dev); if (rt) - ip6_del_rt(rt, NULL, NULL, NULL); + ip6_del_rt(rt); } out: @@ -1113,7 +1114,7 @@ static void ndisc_router_discovery(struct sk_buff *skb) if (rt && lifetime == 0) { neigh_clone(neigh); - ip6_del_rt(rt, NULL, NULL, NULL); + ip6_del_rt(rt); rt = NULL; }