···1919extern void dn_nsp_send_oth_ack(struct sock *sk);2020extern void dn_nsp_delayed_ack(struct sock *sk);2121extern void dn_send_conn_ack(struct sock *sk);2222-extern void dn_send_conn_conf(struct sock *sk, int gfp);2222+extern void dn_send_conn_conf(struct sock *sk, unsigned int __nocast gfp);2323extern void dn_nsp_send_disc(struct sock *sk, unsigned char type, 2424- unsigned short reason, int gfp);2424+ unsigned short reason, unsigned int __nocast gfp);2525extern void dn_nsp_return_disc(struct sk_buff *skb, unsigned char type,2626 unsigned short reason);2727extern void dn_nsp_send_link(struct sock *sk, unsigned char lsflags, char fcval);···29293030extern void dn_nsp_output(struct sock *sk);3131extern int dn_nsp_check_xmit_queue(struct sock *sk, struct sk_buff *skb, struct sk_buff_head *q, unsigned short acknum);3232-extern void dn_nsp_queue_xmit(struct sock *sk, struct sk_buff *skb, int gfp, int oob);3232+extern void dn_nsp_queue_xmit(struct sock *sk, struct sk_buff *skb, unsigned int __nocast gfp, int oob);3333extern unsigned long dn_nsp_persist(struct sock *sk);3434extern int dn_nsp_xmit_timeout(struct sock *sk);35353636extern int dn_nsp_rx(struct sk_buff *);3737extern int dn_nsp_backlog_rcv(struct sock *sk, struct sk_buff *skb);38383939-extern struct sk_buff *dn_alloc_skb(struct sock *sk, int size, int pri);3939+extern struct sk_buff *dn_alloc_skb(struct sock *sk, int size, unsigned int __nocast pri);4040extern struct sk_buff *dn_alloc_send_skb(struct sock *sk, size_t *size, int noblock, long timeo, int *err);41414242#define NSP_REASON_OK 0 /* No error */
+1-1
include/net/dn_route.h
···1515 GNU General Public License for more details.1616*******************************************************************************/17171818-extern struct sk_buff *dn_alloc_skb(struct sock *sk, int size, int pri);1818+extern struct sk_buff *dn_alloc_skb(struct sock *sk, int size, unsigned int __nocast pri);1919extern int dn_route_output_sock(struct dst_entry **pprt, struct flowi *, struct sock *sk, int flags);2020extern int dn_cache_dump(struct sk_buff *skb, struct netlink_callback *cb);2121extern int dn_cache_getroute(struct sk_buff *skb, struct nlmsghdr *nlh, void *arg);
+1-1
include/net/inet_hashtables.h
···4040struct inet_ehash_bucket {4141 rwlock_t lock;4242 struct hlist_head chain;4343-} __attribute__((__aligned__(8)));4343+};44444545/* There are a few simple rules, which allow for local port reuse by4646 * an application. In essence:
+1-1
include/net/ip_vs.h
···832832833833extern int ip_vs_app_pkt_out(struct ip_vs_conn *, struct sk_buff **pskb);834834extern int ip_vs_app_pkt_in(struct ip_vs_conn *, struct sk_buff **pskb);835835-extern int ip_vs_skb_replace(struct sk_buff *skb, int pri,835835+extern int ip_vs_skb_replace(struct sk_buff *skb, unsigned int __nocast pri,836836 char *o_buf, int o_len, char *n_buf, int n_len);837837extern int ip_vs_app_init(void);838838extern void ip_vs_app_cleanup(void);
···203203 size_t sioc,204204 struct kvec *siov,205205 uint8_t rxhdr_flags,206206- int alloc_flags,206206+ unsigned int __nocast alloc_flags,207207 int dup_data,208208 size_t *size_sent);209209
+1-1
include/rxrpc/message.h
···6363 uint8_t type,6464 int count,6565 struct kvec *diov,6666- int alloc_flags,6666+ unsigned int __nocast alloc_flags,6767 struct rxrpc_message **_msg);68686969extern int rxrpc_conn_sendmsg(struct rxrpc_connection *conn, struct rxrpc_message *msg);
+1-1
lib/ts_bm.c
···127127}128128129129static struct ts_config *bm_init(const void *pattern, unsigned int len,130130- int gfp_mask)130130+ unsigned int __nocast gfp_mask)131131{132132 struct ts_config *conf;133133 struct ts_bm *bm;
+1-1
lib/ts_fsm.c
···258258}259259260260static struct ts_config *fsm_init(const void *pattern, unsigned int len,261261- int gfp_mask)261261+ unsigned int __nocast gfp_mask)262262{263263 int i, err = -EINVAL;264264 struct ts_config *conf;
+1-1
lib/ts_kmp.c
···8787}88888989static struct ts_config *kmp_init(const void *pattern, unsigned int len,9090- int gfp_mask)9090+ unsigned int __nocast gfp_mask)9191{9292 struct ts_config *conf;9393 struct ts_kmp *kmp;
+1-1
net/atm/atm_misc.c
···252526262727struct sk_buff *atm_alloc_charge(struct atm_vcc *vcc,int pdu_size,2828- int gfp_flags)2828+ unsigned int __nocast gfp_flags)2929{3030 struct sock *sk = sk_atm(vcc);3131 int guess = atm_guess_pdu2truesize(pdu_size);
···452452 .obj_size = sizeof(struct dn_sock),453453};454454455455-static struct sock *dn_alloc_sock(struct socket *sock, int gfp)455455+static struct sock *dn_alloc_sock(struct socket *sock,456456+ unsigned int __nocast gfp)456457{457458 struct dn_scp *scp;458459 struct sock *sk = sk_alloc(PF_DECnet, gfp, &dn_proto, 1);···805804 return rv;806805}807806808808-static int dn_confirm_accept(struct sock *sk, long *timeo, int allocation)807807+static int dn_confirm_accept(struct sock *sk, long *timeo,808808+ unsigned int __nocast allocation)809809{810810 struct dn_scp *scp = DN_SK(sk);811811 DEFINE_WAIT(wait);
+14-9
net/decnet/dn_nsp_out.c
···117117 * The eventual aim is for each socket to have a cached header size118118 * for its outgoing packets, and to set hdr from this when sk != NULL.119119 */120120-struct sk_buff *dn_alloc_skb(struct sock *sk, int size, int pri)120120+struct sk_buff *dn_alloc_skb(struct sock *sk, int size,121121+ unsigned int __nocast pri)121122{122123 struct sk_buff *skb;123124 int hdr = 64;···211210 *212211 * Returns: The number of times the packet has been sent previously213212 */214214-static inline unsigned dn_nsp_clone_and_send(struct sk_buff *skb, int gfp)213213+static inline unsigned dn_nsp_clone_and_send(struct sk_buff *skb,214214+ unsigned int __nocast gfp)215215{216216 struct dn_skb_cb *cb = DN_SKB_CB(skb);217217 struct sk_buff *skb2;···352350 return ptr;353351}354352355355-void dn_nsp_queue_xmit(struct sock *sk, struct sk_buff *skb, int gfp, int oth)353353+void dn_nsp_queue_xmit(struct sock *sk, struct sk_buff *skb,354354+ unsigned int __nocast gfp, int oth)356355{357356 struct dn_scp *scp = DN_SK(sk);358357 struct dn_skb_cb *cb = DN_SKB_CB(skb);···520517 return 0;521518}522519523523-void dn_send_conn_conf(struct sock *sk, int gfp)520520+void dn_send_conn_conf(struct sock *sk, unsigned int __nocast gfp)524521{525522 struct dn_scp *scp = DN_SK(sk);526523 struct sk_buff *skb = NULL;···552549553550554551static __inline__ void dn_nsp_do_disc(struct sock *sk, unsigned char msgflg, 555555- unsigned short reason, int gfp, struct dst_entry *dst,552552+ unsigned short reason, unsigned int __nocast gfp,553553+ struct dst_entry *dst,556554 int ddl, unsigned char *dd, __u16 rem, __u16 loc)557555{558556 struct sk_buff *skb = NULL;···595591596592597593void dn_nsp_send_disc(struct sock *sk, unsigned char msgflg, 598598- unsigned short reason, int gfp)594594+ unsigned short reason, unsigned int __nocast gfp)599595{600596 struct dn_scp *scp = DN_SK(sk);601597 int ddl = 0;···616612{617613 struct dn_skb_cb *cb = DN_SKB_CB(skb);618614 int ddl = 0;619619- int gfp = GFP_ATOMIC;615615+ unsigned int __nocast gfp = GFP_ATOMIC;620616621617 dn_nsp_do_disc(NULL, msgflg, reason, gfp, skb->dst, ddl, 622618 NULL, cb->src_port, cb->dst_port);···628624 struct dn_scp *scp = DN_SK(sk);629625 struct sk_buff *skb;630626 unsigned char *ptr;631631- int gfp = GFP_ATOMIC;627627+ unsigned int __nocast gfp = GFP_ATOMIC;632628633629 if ((skb = dn_alloc_skb(sk, DN_MAX_NSP_DATA_HEADER + 2, gfp)) == NULL)634630 return;···663659 unsigned char menuver;664660 struct dn_skb_cb *cb;665661 unsigned char type = 1;666666- int allocation = (msgflg == NSP_CI) ? sk->sk_allocation : GFP_ATOMIC;662662+ unsigned int __nocast allocation =663663+ (msgflg == NSP_CI) ? sk->sk_allocation : GFP_ATOMIC;667664 struct sk_buff *skb = dn_alloc_skb(sk, 200, allocation);668665669666 if (!skb)
+1-1
net/ipv4/ipvs/ip_vs_app.c
···604604/*605605 * Replace a segment of data with a new segment606606 */607607-int ip_vs_skb_replace(struct sk_buff *skb, int pri,607607+int ip_vs_skb_replace(struct sk_buff *skb, unsigned int __nocast pri,608608 char *o_buf, int o_len, char *n_buf, int n_len)609609{610610 struct iphdr *iph;
+1-1
net/ipv4/netfilter/Kconfig
···141141 tristate 'PPTP protocol support'142142 help143143 This module adds support for PPTP (Point to Point Tunnelling144144- Protocol, RFC2637) conncection tracking and NAT. 144144+ Protocol, RFC2637) connection tracking and NAT. 145145146146 If you are running PPTP sessions over a stateful firewall or NAT147147 box, you may want to enable this feature.