"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "net/netfilter/nft_meta.c" between
linux-5.3-rc3.tar.gz and linux-5.3-rc4.tar.gz

About: The full source of the development Linux kernel 5.3 (release candidate).

nft_meta.c  (linux-5.3-rc3):nft_meta.c  (linux-5.3-rc4)
skipping to change at line 63 skipping to change at line 63
goto err; goto err;
nft_reg_store8(dest, pkt->tprot); nft_reg_store8(dest, pkt->tprot);
break; break;
case NFT_META_PRIORITY: case NFT_META_PRIORITY:
*dest = skb->priority; *dest = skb->priority;
break; break;
case NFT_META_MARK: case NFT_META_MARK:
*dest = skb->mark; *dest = skb->mark;
break; break;
case NFT_META_IIF: case NFT_META_IIF:
if (in == NULL) *dest = in ? in->ifindex : 0;
goto err;
*dest = in->ifindex;
break; break;
case NFT_META_OIF: case NFT_META_OIF:
if (out == NULL) *dest = out ? out->ifindex : 0;
goto err;
*dest = out->ifindex;
break; break;
case NFT_META_IIFNAME: case NFT_META_IIFNAME:
if (in == NULL) strncpy((char *)dest, in ? in->name : "", IFNAMSIZ);
goto err;
strncpy((char *)dest, in->name, IFNAMSIZ);
break; break;
case NFT_META_OIFNAME: case NFT_META_OIFNAME:
if (out == NULL) strncpy((char *)dest, out ? out->name : "", IFNAMSIZ);
goto err;
strncpy((char *)dest, out->name, IFNAMSIZ);
break; break;
case NFT_META_IIFTYPE: case NFT_META_IIFTYPE:
if (in == NULL) if (in == NULL)
goto err; goto err;
nft_reg_store16(dest, in->type); nft_reg_store16(dest, in->type);
break; break;
case NFT_META_OIFTYPE: case NFT_META_OIFTYPE:
if (out == NULL) if (out == NULL)
goto err; goto err;
nft_reg_store16(dest, out->type); nft_reg_store16(dest, out->type);
 End of changes. 4 change blocks. 
12 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)